package cn.com.poc.ai_bi.model;	

import java.io.Serializable;
import cn.com.yict.framemax.data.model.BaseModelClass;

import javax.persistence.*;

import org.hibernate.annotations.DynamicInsert;
import org.hibernate.annotations.DynamicUpdate;

/**
 * Model class for biz_ai_bi_example
 * AIBI示例表
 */
@Entity
@Table(name = "biz_ai_bi_example")
@DynamicInsert
@DynamicUpdate
public class BizAiBiExampleModel 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");
    }

  
    /** title
    *标题
    */ 
    private java.lang.String title;
    
    @Column(name = "title",length = 100)
    public java.lang.String getTitle(){
        return this.title;
    }
    
    public void setTitle(java.lang.String title){
        this.title = title;
        super.addValidField("title");
    }
    
  
    /** data_type
    *
    */ 
    private java.lang.String dataType;
    
    @Column(name = "data_type",length = 100)
    public java.lang.String getDataType(){
        return this.dataType;
    }
    
    public void setDataType(java.lang.String dataType){
        this.dataType = dataType;
        super.addValidField("dataType");
    }
    
  
    /** data_relation
    *
    */ 
    private java.lang.String dataRelation;
    
    @Column(name = "data_relation",length = 100)
    public java.lang.String getDataRelation(){
        return this.dataRelation;
    }
    
    public void setDataRelation(java.lang.String dataRelation){
        this.dataRelation = dataRelation;
        super.addValidField("dataRelation");
    }
    
  
    /** example_desc
    *
    */ 
    private java.lang.String exampleDesc;
    
    @Column(name = "example_desc",length = 2147483647)
    public java.lang.String getExampleDesc(){
        return this.exampleDesc;
    }
    
    public void setExampleDesc(java.lang.String exampleDesc){
        this.exampleDesc = exampleDesc;
        super.addValidField("exampleDesc");
    }
    
  
    /** question
    *
    */ 
    private java.lang.String question;
    
    @Column(name = "question",length = 100)
    public java.lang.String getQuestion(){
        return this.question;
    }
    
    public void setQuestion(java.lang.String question){
        this.question = question;
        super.addValidField("question");
    }

    /**
     *
     */
    private String attachmentName;

    @Column(name = "attachment_name",length = 150)
    public String getAttachmentName() {
        return attachmentName;
    }

    public void setAttachmentName(String attachmentName) {
        this.attachmentName = attachmentName;
        super.addValidField("attachmentName");
    }

    /**
     *
     */
    private String imageUrl;

    @Column(name = "image_url",length = 150)
    public String getImageUrl() {
        return imageUrl;
    }

    public void setImageUrl(String imageUrl) {
        this.imageUrl = imageUrl;
        super.addValidField("imageUrl");
    }
}