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

/**
 * Model class for biz_examination
 * 智能出题
 */
@Entity
@Table(name = "biz_examination")
@DynamicInsert
@DynamicUpdate
public class BizExaminationModel 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");
    }
    
  
    /** examination_id
    *试卷ID
    */ 
    private java.lang.String examinationId;
    
    @Column(name = "examination_id",length = 150)
    public java.lang.String getExaminationId(){
        return this.examinationId;
    }
    
    public void setExaminationId(java.lang.String examinationId){
        this.examinationId = examinationId;
        super.addValidField("examinationId");
    }
    
  
    /** member_id
    *用户ID
    */ 
    private java.lang.Long memberId;
    
    @Column(name = "member_id",length = 19)
    public java.lang.Long getMemberId(){
        return this.memberId;
    }
    
    public void setMemberId(java.lang.Long memberId){
        this.memberId = memberId;
        super.addValidField("memberId");
    }
    
  
    /** title
    *试卷名称
    */ 
    private java.lang.String title;
    
    @Column(name = "title",length = 150)
    public java.lang.String getTitle(){
        return this.title;
    }
    
    public void setTitle(java.lang.String title){
        this.title = title;
        super.addValidField("title");
    }
    
  
    /** question_type
    *出题类型
    */ 
    private java.lang.String questionType;
    
    @Column(name = "question_type",length = 2147483647)
    public java.lang.String getQuestionType(){
        return this.questionType;
    }
    
    public void setQuestionType(java.lang.String questionType){
        this.questionType = questionType;
        super.addValidField("questionType");
    }
    
  
    /** total_score
    *总分数
    */ 
    private java.lang.Integer totalScore;
    
    @Column(name = "total_score",length = 10)
    public java.lang.Integer getTotalScore(){
        return this.totalScore;
    }
    
    public void setTotalScore(java.lang.Integer totalScore){
        this.totalScore = totalScore;
        super.addValidField("totalScore");
    }
    
  
    /** n
    *总题数
    */ 
    private java.lang.Integer n;
    
    @Column(name = "n",length = 10)
    public java.lang.Integer getN(){
        return this.n;
    }
    
    public void setN(java.lang.Integer n){
        this.n = n;
        super.addValidField("n");
    }
    
  
    /** level
    *难度级别
    */ 
    private java.lang.String level;
    
    @Column(name = "level",length = 100)
    public java.lang.String getLevel(){
        return this.level;
    }
    
    public void setLevel(java.lang.String level){
        this.level = level;
        super.addValidField("level");
    }
    
  
    /** language
    *出题语言
    */ 
    private java.lang.String language;
    
    @Column(name = "language",length = 100)
    public java.lang.String getLanguage(){
        return this.language;
    }
    
    public void setLanguage(java.lang.String language){
        this.language = language;
        super.addValidField("language");
    }
    
  
    /** positions
    *适用岗位
    */ 
    private java.lang.String positions;
    
    @Column(name = "positions",length = 100)
    public java.lang.String getPositions(){
        return this.positions;
    }
    
    public void setPositions(java.lang.String positions){
        this.positions = positions;
        super.addValidField("positions");
    }
    
  
    /** examination_detail
    *试卷内容
    */ 
    private java.lang.String examinationDetail;
    
    @Column(name = "examination_detail",length = 1073741824)
    public java.lang.String getExaminationDetail(){
        return this.examinationDetail;
    }
    
    public void setExaminationDetail(java.lang.String examinationDetail){
        this.examinationDetail = examinationDetail;
        super.addValidField("examinationDetail");
    }
    
  
    /** file_url
    *文件地址
    */ 
    private java.lang.String fileUrl;
    
    @Column(name = "file_url",length = 150)
    public java.lang.String getFileUrl(){
        return this.fileUrl;
    }
    
    public void setFileUrl(java.lang.String fileUrl){
        this.fileUrl = fileUrl;
        super.addValidField("fileUrl");
    }
    
  
    /** content
    *输入文本
    */ 
    private java.lang.String content;
    
    @Column(name = "content",length = 2147483647)
    public java.lang.String getContent(){
        return this.content;
    }
    
    public void setContent(java.lang.String content){
        this.content = content;
        super.addValidField("content");
    }
    
  
    /** is_deleted
    *是否删除 Y 是  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 = 50)
    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 = 50)
    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");
    }
    

}