package cn.com.poc.appbuilder.model;

import cn.com.yict.framemax.data.model.BaseModelClass;
import org.hibernate.annotations.DynamicInsert;
import org.hibernate.annotations.DynamicUpdate;

import javax.persistence.*;
import java.io.Serializable;

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

    private static final long serialVersionUID = 1L;
    
  
    /** id
    *
    */ 
    private Integer id;
    
    @Column(name = "id",length = 10)
	@Id @GeneratedValue(strategy = GenerationType.AUTO) 
    public Integer getId(){
        return this.id;
    }
    
    public void setId(Integer id){
        this.id = id;
        super.addValidField("id");
    }
    
  
    /** conversationId
    *
    */ 
    private String conversationId;
    
    @Column(name = "conversationId",length = 200)
    public String getConversationId(){
        return this.conversationId;
    }
    
    public void setConversationId(String conversationId){
        this.conversationId = conversationId;
        super.addValidField("conversationId");
    }
    
  
    /** response
    *
    */ 
    private String response;
    
    @Column(name = "response",length = 1073741824)
    public String getResponse(){
        return this.response;
    }
    
    public void setResponse(String response){
        this.response = response;
        super.addValidField("response");
    }
    
  
    /** result
    *
    */ 
    private String result;
    
    @Column(name = "result",length = 2147483647)
    public String getResult(){
        return this.result;
    }
    
    public void setResult(String result){
        this.result = result;
        super.addValidField("result");
    }
    
  
    /** CREATOR
    *创建人
    */ 
    private String creator;
    
    @Column(name = "CREATOR",length = 225)
    public String getCreator(){
        return this.creator;
    }
    
    public void setCreator(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 String modifier;
    
    @Column(name = "MODIFIER",length = 225)
    public String getModifier(){
        return this.modifier;
    }
    
    public void setModifier(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 Integer sysVersion;
    
    @Column(name = "SYS_VERSION",length = 10)
	@Version
    public Integer getSysVersion(){
        return this.sysVersion;
    }
    
    public void setSysVersion(Integer sysVersion){
        this.sysVersion = sysVersion;
        super.addValidField("sysVersion");
    }
    

}