package cn.com.poc.writing.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_writing_example_type
 * AI写作分类
 */
@Entity
@Table(name = "biz_ai_writing_example_type")
@DynamicInsert
@DynamicUpdate
public class BizAiWritingExampleTypeModel 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");
    }
    
  
    /** type
    *类型
    */ 
    private java.lang.String type;
    
    @Column(name = "type",length = 100)
    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");
    }
    

}