package com.qxueyou.scc.org.model; import java.io.Serializable; import java.math.BigDecimal; import java.util.Date; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.Id; import javax.persistence.Table; import org.hibernate.annotations.GenericGenerator; import org.springframework.format.annotation.DateTimeFormat; import com.qxueyou.scc.base.model.ITrace; import com.fasterxml.jackson.annotation.JsonIgnore; @Entity @Table(name="org_class_refer_fee") public class OrgClassReferFee implements Serializable,ITrace{ /** * */ private static final long serialVersionUID = 1L; @Id @GeneratedValue(generator = "hibernate-uuid") @GenericGenerator(name = "hibernate-uuid", strategy = "uuid") @Column(name="CLASS_REFER_FEE_ID", unique=true, nullable=false, length=32) private String classReferFeeId; @Column(name="CLASS_ID", length=32) private String classId; @Column(name="REFER_FEE", precision=10, scale=2) private BigDecimal referFee; @Column(name="CREATE_ID", nullable=false, length=32) @JsonIgnore private String createId; @Column(name="CREATE_TIME", nullable=false) @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") @JsonIgnore private Date createTime; @Column(name="CREATOR", nullable=false, length=100) @JsonIgnore private String creator; @Column(name="DELETE_FLAG", nullable=false) @JsonIgnore private boolean deleteFlag; @Column(name="UPDATE_ID", length=32) @JsonIgnore private String updateId; @Column(name="UPDATE_TIME", nullable=false) @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") @JsonIgnore private Date updateTime; @Column(name="UPDATOR", length=100) @JsonIgnore private String updator; /** * @return the classReferFeeId */ public String getClassReferFeeId() { return classReferFeeId; } /** * @param classReferFeeId the classReferFeeId to set */ public void setClassReferFeeId(String classReferFeeId) { this.classReferFeeId = classReferFeeId; } /** * @return the classId */ public String getClassId() { return classId; } /** * @param classId the classId to set */ public void setClassId(String classId) { this.classId = classId; } /** * @return the referFee */ public BigDecimal getReferFee() { return referFee; } /** * @param referFee the referFee to set */ public void setReferFee(BigDecimal referFee) { this.referFee = referFee; } /** * @return the createId */ public String getCreateId() { return createId; } /** * @param createId the createId to set */ public void setCreateId(String createId) { this.createId = createId; } /** * @return the createTime */ public Date getCreateTime() { return createTime; } /** * @param createTime the createTime to set */ public void setCreateTime(Date createTime) { this.createTime = createTime; } /** * @return the creator */ public String getCreator() { return creator; } /** * @param creator the creator to set */ public void setCreator(String creator) { this.creator = creator; } /** * @return the deleteFlag */ public boolean getDeleteFlag() { return deleteFlag; } /** * @param deleteFlag the deleteFlag to set */ public void setDeleteFlag(boolean deleteFlag) { this.deleteFlag = deleteFlag; } /** * @return the updateId */ public String getUpdateId() { return updateId; } /** * @param updateId the updateId to set */ public void setUpdateId(String updateId) { this.updateId = updateId; } /** * @return the updateTime */ public Date getUpdateTime() { return updateTime; } /** * @param updateTime the updateTime to set */ public void setUpdateTime(Date updateTime) { this.updateTime = updateTime; } /** * @return the updator */ public String getUpdator() { return updator; } /** * @param updator the updator to set */ public void setUpdator(String updator) { this.updator = updator; } }