package com.highdatas.mdm.entity; import com.baomidou.mybatisplus.activerecord.Model; import com.baomidou.mybatisplus.annotations.TableField; import com.baomidou.mybatisplus.annotations.TableName; import lombok.Data; import java.io.Serializable; import java.util.Date; /** *

* *

* * @author kimi * @since 2019-12-16 */ @TableName("maintain") @Data public class Maintain extends Model { private static final long serialVersionUID = 1L; /* * 主键 * */ private String id; /* * 表名 * */ @TableField("table_name") private String tableName; /* * 流程id * */ @TableField("flow_id") private String flowId; /* * 创建人 * */ @TableField("charge_id") private String chargeId; /* * 描述 * */ private String desp; /* * 版本名称 * */ private String version; /* * 顺序 * */ @TableField("order_no") private Integer orderNo; /* * 创建时间 * */ @TableField("create_time") private Date createTime; /* * 版本类型 0 ,1,-1 * */ private transient Integer maintainType; /* * 是否激活 * */ private transient boolean active; /* * 是否需要更新 * */ private transient boolean needUpdate; /* * 记录数 * */ private transient Integer recordCount; @Override protected Serializable pkVal() { return this.id; } @Override public String toString() { return "Maintain{" + "id=" + id + ", tableName=" + tableName + ", flowId=" + flowId + ", chargeId=" + chargeId + ", desp=" + desp + ", version=" + version + ", createTime=" + createTime + "}"; } }