BpmExtendClass.java 2.65 KB
package com.hotent.runtime.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.hotent.base.entity.BaseModel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;

/**
 * 扩展jar包class管理模块
 *
 * @company 广州宏天软件股份有限公司
 * @author 超级管理员
 * @since 2021-01-19
 */
@ApiModel(value="BpmExtendClass对象", description="扩展jar包class管理模块")
public class BpmExtendClass extends BaseModel<BpmExtendClass> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "ID_", type = IdType.ASSIGN_ID)
    private String id;

    @ApiModelProperty(value = "所属jar包id")
    @TableField("JAR_ID_")
    private String jarId;

    @ApiModelProperty(value = "类名首字母小写,即beanId")
    @TableField("SIMPLE_NAME_")
    private String simpleName;

    @ApiModelProperty(value = "类名全路径")
    @TableField("PATH_")
    private String path;

    @ApiModelProperty(value = "类描述")
    @TableField("DESC_")
    private String desc;

    @ApiModelProperty(value = "MD5版本号")
    @TableField("MD5_")
    private String md5;
    
    @ApiModelProperty(value = "脚本类型1:常用脚本,2:人员脚本")
    @TableField("TYPE_")
    private String type;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }
    public String getJarId() {
        return jarId;
    }

    public void setJarId(String jarId) {
        this.jarId = jarId;
    }
    public String getSimpleName() {
        return simpleName;
    }

    public void setSimpleName(String simpleName) {
        this.simpleName = simpleName;
    }
    public String getPath() {
        return path;
    }

    public void setPath(String path) {
        this.path = path;
    }
    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }
    public String getMd5() {
        return md5;
    }

    public void setMd5(String md5) {
        this.md5 = md5;
    }

    public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	@Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "BpmExtendClass{" +
            "id=" + id +
            ", jarId=" + jarId +
            ", simpleName=" + simpleName +
            ", path=" + path +
            ", desc=" + desc +
            ", md5=" + md5 +
        "}";
    }
}