package cn.com.poc.law.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_lawyer_writing_template_data
 * 法律文书数据
 */
@Entity
@Table(name = "biz_ai_lawyer_writing_template_data")
@DynamicInsert
@DynamicUpdate
public class BizAiLawyerWritingTemplateDataModel extends BaseModelClass implements Serializable {

    private static final long serialVersionUID = 1L;
    
  
    /** biz_ai_lawyer_writing_template_data_id
    *
    */ 
    private java.lang.Integer bizAiLawyerWritingTemplateDataId;
    
    @Column(name = "biz_ai_lawyer_writing_template_data_id",length = 10)
	@Id @GeneratedValue(strategy = GenerationType.AUTO) 
    public java.lang.Integer getBizAiLawyerWritingTemplateDataId(){
        return this.bizAiLawyerWritingTemplateDataId;
    }
    
    public void setBizAiLawyerWritingTemplateDataId(java.lang.Integer bizAiLawyerWritingTemplateDataId){
        this.bizAiLawyerWritingTemplateDataId = bizAiLawyerWritingTemplateDataId;
        super.addValidField("bizAiLawyerWritingTemplateDataId");
    }
    
  
    /** biz_ai_lawyer_writing_template_dialogues_id
    *对话id
    */ 
    private java.lang.String bizAiLawyerWritingTemplateDialoguesId;
    
    @Column(name = "biz_ai_lawyer_writing_template_dialogues_id",length = 255)
    public java.lang.String getBizAiLawyerWritingTemplateDialoguesId(){
        return this.bizAiLawyerWritingTemplateDialoguesId;
    }
    
    public void setBizAiLawyerWritingTemplateDialoguesId(java.lang.String bizAiLawyerWritingTemplateDialoguesId){
        this.bizAiLawyerWritingTemplateDialoguesId = bizAiLawyerWritingTemplateDialoguesId;
        super.addValidField("bizAiLawyerWritingTemplateDialoguesId");
    }
    
  
    /** biz_ai_lawyer_writing_template_dialogues_record_id
    *
    */ 
    private java.lang.Long bizAiLawyerWritingTemplateDialoguesRecordId;
    
    @Column(name = "biz_ai_lawyer_writing_template_dialogues_record_id",length = 10)
    public java.lang.Long getBizAiLawyerWritingTemplateDialoguesRecordId(){
        return this.bizAiLawyerWritingTemplateDialoguesRecordId;
    }
    
    public void setBizAiLawyerWritingTemplateDialoguesRecordId(java.lang.Long bizAiLawyerWritingTemplateDialoguesRecordId){
        this.bizAiLawyerWritingTemplateDialoguesRecordId = bizAiLawyerWritingTemplateDialoguesRecordId;
        super.addValidField("bizAiLawyerWritingTemplateDialoguesRecordId");
    }
    
  
    /** biz_ai_lawyer_writing_template_data
    *写作数据
    */ 
    private java.lang.String bizAiLawyerWritingTemplateData;
    
    @Column(name = "biz_ai_lawyer_writing_template_data",length = 255)
    public java.lang.String getBizAiLawyerWritingTemplateData(){
        return this.bizAiLawyerWritingTemplateData;
    }
    
    public void setBizAiLawyerWritingTemplateData(java.lang.String bizAiLawyerWritingTemplateData){
        this.bizAiLawyerWritingTemplateData = bizAiLawyerWritingTemplateData;
        super.addValidField("bizAiLawyerWritingTemplateData");
    }

    /** biz_ai_lawyer_writing_template_code
    *写作数据
    */
    private java.lang.String bizAiLawyerWritingTemplateCode;

    @Column(name = "biz_ai_lawyer_writing_template_code",length = 255)
    public String getBizAiLawyerWritingTemplateCode() {
        return bizAiLawyerWritingTemplateCode;
    }

    public void setBizAiLawyerWritingTemplateCode(String bizAiLawyerWritingTemplateCode) {
        this.bizAiLawyerWritingTemplateCode = bizAiLawyerWritingTemplateCode;
        super.addValidField("bizAiLawyerWritingTemplateCode");
    }

  
    /** 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");
    }
    

}