package com.highdatas.mdm.entity;
|
|
import java.util.Date;
|
import com.baomidou.mybatisplus.annotations.TableId;
|
import com.baomidou.mybatisplus.annotations.TableField;
|
import com.baomidou.mybatisplus.activerecord.Model;
|
import com.baomidou.mybatisplus.annotations.TableName;
|
import java.io.Serializable;
|
|
/**
|
* <p>
|
* 规则表
|
* </p>
|
*
|
* @author kimi
|
* @since 2019-12-18
|
*/
|
@TableName("t_quality_rule")
|
public class TQualityRule extends Model<TQualityRule> {
|
|
private static final long serialVersionUID = 1L;
|
|
/**
|
* 规则主键
|
*/
|
@TableId("rule_id")
|
private String ruleId;
|
|
/**
|
* 规则名称
|
*/
|
@TableField("rule_name")
|
private String ruleName;
|
|
/**
|
* 代码类型
|
*/
|
@TableField("code_type")
|
private String codeType;
|
|
/**
|
* 规则类型
|
*/
|
@TableField("rule_type")
|
private String ruleType;
|
|
/**
|
* 规则类别
|
*/
|
@TableField("rule_style")
|
private String ruleStyle;
|
|
/**
|
* 负责人
|
*/
|
@TableField("user_id")
|
private String userId;
|
|
/**
|
* 代码
|
*/
|
@TableField("code_content")
|
private String codeContent;
|
|
/**
|
* 规则状态
|
*/
|
@TableField("rule_state")
|
private String ruleState;
|
|
/**
|
* 描述
|
*/
|
@TableField("desc_info")
|
private String descInfo;
|
|
/**
|
* 生成时间
|
*/
|
@TableField("create_time")
|
private Date createTime;
|
|
/**
|
* 修改时间
|
*/
|
@TableField("update_time")
|
private Date updateTime;
|
|
public String getRuleId() {
|
return ruleId;
|
}
|
|
public TQualityRule setRuleId(String ruleId) {
|
this.ruleId = ruleId;
|
return this;
|
}
|
public String getRuleName() {
|
return ruleName;
|
}
|
|
public TQualityRule setRuleName(String ruleName) {
|
this.ruleName = ruleName;
|
return this;
|
}
|
public String getCodeType() {
|
return codeType;
|
}
|
|
public TQualityRule setCodeType(String codeType) {
|
this.codeType = codeType;
|
return this;
|
}
|
public String getRuleType() {
|
return ruleType;
|
}
|
|
public TQualityRule setRuleType(String ruleType) {
|
this.ruleType = ruleType;
|
return this;
|
}
|
public String getRuleStyle() {
|
return ruleStyle;
|
}
|
|
public TQualityRule setRuleStyle(String ruleStyle) {
|
this.ruleStyle = ruleStyle;
|
return this;
|
}
|
public String getUserId() {
|
return userId;
|
}
|
|
public TQualityRule setUserId(String userId) {
|
this.userId = userId;
|
return this;
|
}
|
public String getCodeContent() {
|
return codeContent;
|
}
|
|
public TQualityRule setCodeContent(String codeContent) {
|
this.codeContent = codeContent;
|
return this;
|
}
|
public String getRuleState() {
|
return ruleState;
|
}
|
|
public TQualityRule setRuleState(String ruleState) {
|
this.ruleState = ruleState;
|
return this;
|
}
|
public String getDescInfo() {
|
return descInfo;
|
}
|
|
public TQualityRule setDescInfo(String descInfo) {
|
this.descInfo = descInfo;
|
return this;
|
}
|
public Date getCreateTime() {
|
return createTime;
|
}
|
|
public TQualityRule setCreateTime(Date createTime) {
|
this.createTime = createTime;
|
return this;
|
}
|
public Date getUpdateTime() {
|
return updateTime;
|
}
|
|
public TQualityRule setUpdateTime(Date updateTime) {
|
this.updateTime = updateTime;
|
return this;
|
}
|
|
@Override
|
protected Serializable pkVal() {
|
return this.ruleId;
|
}
|
|
@Override
|
public String toString() {
|
return "TQualityRule{" +
|
"ruleId=" + ruleId +
|
", ruleName=" + ruleName +
|
", codeType=" + codeType +
|
", ruleType=" + ruleType +
|
", ruleStyle=" + ruleStyle +
|
", userId=" + userId +
|
", codeContent=" + codeContent +
|
", ruleState=" + ruleState +
|
", descInfo=" + descInfo +
|
", createTime=" + createTime +
|
", updateTime=" + updateTime +
|
"}";
|
}
|
}
|