Sin Descripción

Consult.java 5.3KB

    package com.ekexiu.portal.po; import java.math.BigDecimal; import org.jfw.apt.orm.annotation.entry.Column; import org.jfw.apt.orm.annotation.entry.PrimaryKey; import org.jfw.apt.orm.annotation.entry.Table; import org.jfw.apt.orm.core.defaultImpl.FixLenStringHandler; import org.jfw.apt.orm.core.defaultImpl.IntHandler; import org.jfw.apt.orm.core.defaultImpl.StringHandler; import org.jfw.apt.orm.core.enums.DE; import com.ekexiu.portal.basepo.CreateTimeSupported; @PrimaryKey("consultId") @Table public class Consult implements CreateTimeSupported { private String consultId; private String consultType; private String consultTitle; private String consultContant; private String createTime; private String professorId; private String consultantId; private int consultStatus; private String finishTime; private int assessStatus; private int assessStar; private String assessContant; private String assessTime; private int thanksStatus; private BigDecimal thanksMoney; private String thanksTime; private String revoveryTime; private Professor professor; public Professor getProfessor() { return professor; } public void setProfessor(Professor professor) { this.professor = professor; } @Column(DE.id_32) public String getConsultId() { return consultId; } public void setConsultId(String consultId) { this.consultId = consultId; } @Column(DE.string_de) public String getConsultType() { return consultType; } public void setConsultType(String consultType) { this.consultType = consultType; } @Column(DE.string_de) public String getConsultTitle() { return consultTitle; } public void setConsultTitle(String consultTitle) { this.consultTitle = consultTitle; } @Column(handlerClass=StringHandler.class,dbType="TEXT",nullable=false,insertable=true,renewable=false,queryable=true) public String getConsultContant() { return consultContant; } public void setConsultContant(String consultContant) { this.consultContant = consultContant; } public String getCreateTime() { return createTime; } public void setCreateTime(String createTime) { this.createTime = createTime; } @Column(DE.id_32) public String getProfessorId() { return professorId; } public void setProfessorId(String professorId) { this.professorId = professorId; } @Column(DE.id_32) public String getConsultantId() { return consultantId; } public void setConsultantId(String consultantId) { this.consultantId = consultantId; } @Column(handlerClass=IntHandler.class,dbType="INT",nullable=true,insertable=true,renewable=true,queryable=true) public int getConsultStatus() { return consultStatus; } public void setConsultStatus(int consultStatus) { this.consultStatus = consultStatus; } @Column(handlerClass = FixLenStringHandler.class, dbType = "CHAR(14)", insertable = false, nullable = true, queryable = true, renewable = true) public String getFinishTime() { return finishTime; } public void setFinishTime(String finishTime) { this.finishTime = finishTime; } @Column(handlerClass=IntHandler.class,dbType="INT",nullable=true,insertable=true,renewable=true,queryable=true) public int getAssessStatus() { return assessStatus; } public void setAssessStatus(int assessStatus) { this.assessStatus = assessStatus; } @Column(handlerClass=IntHandler.class,dbType="INT",nullable=true,insertable=false,renewable=true,queryable=true) public int getAssessStar() { return assessStar; } public void setAssessStar(int assessStar) { this.assessStar = assessStar; } @Column(handlerClass=StringHandler.class,dbType="TEXT",nullable=true,insertable=false,renewable=true,queryable=true) public String getAssessContant() { return assessContant; } public void setAssessContant(String assessContant) { this.assessContant = assessContant; } @Column(handlerClass = FixLenStringHandler.class, dbType = "CHAR(14)", insertable = false, nullable = true, queryable = true, renewable = true) public String getAssessTime() { return assessTime; } public void setAssessTime(String assessTime) { this.assessTime = assessTime; } @Column(handlerClass=IntHandler.class,dbType="INT",nullable=true,insertable=true,renewable=true,queryable=true) public int getThanksStatus() { return thanksStatus; } public void setThanksStatus(int thanksStatus) { this.thanksStatus = thanksStatus; } @Column(DE.BigDecmimal_de) public BigDecimal getThanksMoney() { return thanksMoney; } public void setThanksMoney(BigDecimal thanksMoney) { this.thanksMoney = thanksMoney; } @Column(handlerClass = FixLenStringHandler.class, dbType = "CHAR(14)", insertable = false, nullable = true, queryable = true, renewable = true) public String getThanksTime() { return thanksTime; } public void setThanksTime(String thanksTime) { this.thanksTime = thanksTime; } @Column(handlerClass = FixLenStringHandler.class, dbType = "CHAR(14)", fixSqlValueWithInsert = "TO_CHAR(NOW(),'YYYYMMDDHH24MISS')", fixSqlValueWithUpdate = "TO_CHAR(NOW(),'YYYYMMDDHH24MISS')", insertable = true, nullable = false, queryable = true, renewable = true) public String getRevoveryTime() { return revoveryTime; } public void setRevoveryTime(String revoveryTime) { this.revoveryTime = revoveryTime; } }