package cn.com.poc.ai_data_audit.model;	

import java.io.Serializable;
import cn.com.yict.framemax.data.model.BaseModelClass;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import javax.persistence.Id;
import org.hibernate.annotations.DynamicInsert;
import org.hibernate.annotations.DynamicUpdate;
import javax.persistence.Version;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;

/**
 * Model class for biz_ai_data_audit_rule
 * 
 */
@Entity
@Table(name = "biz_ai_data_audit_rule")
@DynamicInsert
@DynamicUpdate
public class BizAiDataAuditRuleModel extends BaseModelClass implements Serializable {

    private static final long serialVersionUID = 1L;
    
  
    /** data_audit_rule_id
    *
    */ 
    private java.lang.Integer dataAuditRuleId;
    
    @Column(name = "data_audit_rule_id",length = 10)
	@Id @GeneratedValue(strategy = GenerationType.AUTO) 
    public java.lang.Integer getDataAuditRuleId(){
        return this.dataAuditRuleId;
    }
    
    public void setDataAuditRuleId(java.lang.Integer dataAuditRuleId){
        this.dataAuditRuleId = dataAuditRuleId;
        super.addValidField("dataAuditRuleId");
    }
    
  
    /** data_audit_rule_type
    *类型：
字段对字段：c2c
字段对文件：f2c
文件对文件：f2f
    */ 
    private java.lang.String dataAuditRuleType;
    
    @Column(name = "data_audit_rule_type",length = 255)
    public java.lang.String getDataAuditRuleType(){
        return this.dataAuditRuleType;
    }
    
    public void setDataAuditRuleType(java.lang.String dataAuditRuleType){
        this.dataAuditRuleType = dataAuditRuleType;
        super.addValidField("dataAuditRuleType");
    }
    
  
    /** title
    *风险标题
    */ 
    private java.lang.String title;
    
    @Column(name = "title",length = 255)
    public java.lang.String getTitle(){
        return this.title;
    }
    
    public void setTitle(java.lang.String title){
        this.title = title;
        super.addValidField("title");
    }
    
  
    /** level
    *等级
    */ 
    private java.lang.String level;
    
    @Column(name = "level",length = 255)
    public java.lang.String getLevel(){
        return this.level;
    }
    
    public void setLevel(java.lang.String level){
        this.level = level;
        super.addValidField("level");
    }
    
  
    /** first_file
    *第一个文件
    */ 
    private java.lang.String firstFile;
    
    @Column(name = "first_file",length = 255)
    public java.lang.String getFirstFile(){
        return this.firstFile;
    }
    
    public void setFirstFile(java.lang.String firstFile){
        this.firstFile = firstFile;
        super.addValidField("firstFile");
    }
    
  
    /** first_field
    *第一个字段
    */ 
    private java.lang.String firstField;
    
    @Column(name = "first_field",length = 255)
    public java.lang.String getFirstField(){
        return this.firstField;
    }
    
    public void setFirstField(java.lang.String firstField){
        this.firstField = firstField;
        super.addValidField("firstField");
    }
    
  
    /** second_file
    *第二个文件
    */ 
    private java.lang.String secondFile;
    
    @Column(name = "second_file",length = 255)
    public java.lang.String getSecondFile(){
        return this.secondFile;
    }
    
    public void setSecondFile(java.lang.String secondFile){
        this.secondFile = secondFile;
        super.addValidField("secondFile");
    }
    
  
    /** second_field
    *第二个字段
    */ 
    private java.lang.String secondField;
    
    @Column(name = "second_field",length = 255)
    public java.lang.String getSecondField(){
        return this.secondField;
    }
    
    public void setSecondField(java.lang.String secondField){
        this.secondField = secondField;
        super.addValidField("secondField");
    }
    
  
    /** rule_desc
    *规则描述
    */ 
    private java.lang.String ruleDesc;
    
    @Column(name = "rule_desc",length = 2147483647)
    public java.lang.String getRuleDesc(){
        return this.ruleDesc;
    }
    
    public void setRuleDesc(java.lang.String ruleDesc){
        this.ruleDesc = ruleDesc;
        super.addValidField("ruleDesc");
    }
    
  
    /** is_deleted
    *是否删除 1、Y 是 2、N 否
    */ 
    private java.lang.String isDeleted;
    
    @Column(name = "is_deleted",length = 1)
    public java.lang.String getIsDeleted(){
        return this.isDeleted;
    }
    
    public void setIsDeleted(java.lang.String isDeleted){
        this.isDeleted = isDeleted;
        super.addValidField("isDeleted");
    }
    
  
    /** CREATOR
    *创建人
    */ 
    private java.lang.String creator;
    
    @Column(name = "CREATOR",length = 225)
    public java.lang.String getCreator(){
        return this.creator;
    }
    
    public void setCreator(java.lang.String creator){
        this.creator = creator;
        super.addValidField("creator");
    }
    
  
    /** CREATED_TIME
    *创建时间
    */ 
    private java.util.Date createdTime;
    
    @Column(name = "CREATED_TIME",length = 19)
    public java.util.Date getCreatedTime(){
        return this.createdTime;
    }
    
    public void setCreatedTime(java.util.Date createdTime){
        this.createdTime = createdTime;
        super.addValidField("createdTime");
    }
    
  
    /** MODIFIER
    *修改人
    */ 
    private java.lang.String modifier;
    
    @Column(name = "MODIFIER",length = 225)
    public java.lang.String getModifier(){
        return this.modifier;
    }
    
    public void setModifier(java.lang.String modifier){
        this.modifier = modifier;
        super.addValidField("modifier");
    }
    
  
    /** MODIFIED_TIME
    *修改时间
    */ 
    private java.util.Date modifiedTime;
    
    @Column(name = "MODIFIED_TIME",length = 19)
    public java.util.Date getModifiedTime(){
        return this.modifiedTime;
    }
    
    public void setModifiedTime(java.util.Date modifiedTime){
        this.modifiedTime = modifiedTime;
        super.addValidField("modifiedTime");
    }
    
  
    /** SYS_VERSION
    *乐观锁,版本号
    */ 
    private java.lang.Integer sysVersion;
    
    @Column(name = "SYS_VERSION",length = 10)
	@Version
    public java.lang.Integer getSysVersion(){
        return this.sysVersion;
    }
    
    public void setSysVersion(java.lang.Integer sysVersion){
        this.sysVersion = sysVersion;
        super.addValidField("sysVersion");
    }
    

}