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.GeneratedValue;
import javax.persistence.GenerationType;

/**
 * Model class for biz_ai_lawyer_writing_template_download
 * 法律文书模板导出
 */
@Entity
@Table(name = "biz_ai_lawyer_writing_template_download")
@DynamicInsert
@DynamicUpdate
public class BizAiLawyerWritingTemplateDownloadModel extends BaseModelClass implements Serializable {

    private static final long serialVersionUID = 1L;
    
  
    /** id
    *
    */ 
    private java.lang.Long id;
    
    @Column(name = "id",length = 19)
	@Id @GeneratedValue(strategy = GenerationType.AUTO) 
    public java.lang.Long getId(){
        return this.id;
    }
    
    public void setId(java.lang.Long id){
        this.id = id;
        super.addValidField("id");
    }
    
  
    /** template_code
    *
    */ 
    private java.lang.String templateCode;
    
    @Column(name = "template_code",length = 100)
    public java.lang.String getTemplateCode(){
        return this.templateCode;
    }
    
    public void setTemplateCode(java.lang.String templateCode){
        this.templateCode = templateCode;
        super.addValidField("templateCode");
    }
    
  
    /** type
    *
    */ 
    private java.lang.String type;
    
    @Column(name = "type",length = 255)
    public java.lang.String getType(){
        return this.type;
    }
    
    public void setType(java.lang.String type){
        this.type = type;
        super.addValidField("type");
    }
    
  
    /** name
    *
    */ 
    private java.lang.String name;
    
    @Column(name = "name",length = 100)
    public java.lang.String getName(){
        return this.name;
    }
    
    public void setName(java.lang.String name){
        this.name = name;
        super.addValidField("name");
    }
    
  
    /** option
    *
    */ 
    private java.lang.String option;
    
    @Column(name = "option",length = 100)
    public java.lang.String getOption(){
        return this.option;
    }
    
    public void setOption(java.lang.String option){
        this.option = option;
        super.addValidField("option");
    }
    
  
    /** entity_class
    *
    */ 
    private java.lang.String entityClass;
    
    @Column(name = "entity_class",length = 255)
    public java.lang.String getEntityClass(){
        return this.entityClass;
    }
    
    public void setEntityClass(java.lang.String entityClass){
        this.entityClass = entityClass;
        super.addValidField("entityClass");
    }
    

}