package com.qxueyou.scc.sys.model;
|
|
import java.io.Serializable;
|
import java.util.Date;
|
|
import javax.persistence.Column;
|
import javax.persistence.Entity;
|
import javax.persistence.GeneratedValue;
|
import javax.persistence.Id;
|
import javax.persistence.NamedQuery;
|
import javax.persistence.Table;
|
|
import org.hibernate.annotations.GenericGenerator;
|
import org.springframework.format.annotation.DateTimeFormat;
|
|
import com.qxueyou.scc.base.model.ITrace;
|
|
|
/**
|
* The persistent class for the sys_condition database table.
|
*
|
*/
|
@Entity
|
@Table(name="sys_condition")
|
@NamedQuery(name="SysCondition.findAll", query="SELECT s FROM SysCondition s")
|
public class SysCondition implements Serializable,ITrace {
|
|
private static final long serialVersionUID = 1L;
|
|
public static final String MODULE_COURSE_MARKET_SORT = "COURSE_MARKET_SORT";
|
|
public static final String MODULE_COURSE_MARKET_CITY = "COURSE_MARKET_CITY";
|
|
@Id
|
@GeneratedValue(generator = "hibernate-uuid")
|
@GenericGenerator(name = "hibernate-uuid", strategy = "uuid")
|
@Column(name="CONDITION_ID", unique=true, nullable=false, length=32)
|
private String conditionId;
|
|
/***
|
* 模块
|
*/
|
@Column(name="MODULE", length=64)
|
private String module;
|
|
/***
|
* 序号
|
*/
|
@Column(name="ORDER" )
|
private Integer order;
|
|
/***
|
* 编码
|
*/
|
@Column(name="CODE" ,length=128 )
|
private String code;
|
|
/***
|
* 名称
|
*/
|
@Column(name="NAME", length=128 )
|
private String name;
|
|
@Column(name="CREATE_ID", nullable=false, length=32)
|
private String createId;
|
|
@Column(name="CREATE_TIME", nullable=false)
|
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
private Date createTime;
|
|
@Column(name="CREATOR", nullable=false, length=100)
|
private String creator;
|
|
@Column(name="DELETE_FLAG", nullable=false)
|
private boolean deleteFlag;
|
|
@Column(name="UPDATE_ID", length=32)
|
private String updateId;
|
|
@Column(name="UPDATE_TIME", nullable=false)
|
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
private Date updateTime;
|
|
@Column(name="UPDATOR", length=100)
|
private String updator;
|
|
public String getConditionId() {
|
return conditionId;
|
}
|
|
public void setConditionId(String conditionId) {
|
this.conditionId = conditionId;
|
}
|
|
public String getModule() {
|
return module;
|
}
|
|
public void setModule(String module) {
|
this.module = module;
|
}
|
|
public Integer getOrder() {
|
return order;
|
}
|
|
public void setOrder(Integer order) {
|
this.order = order;
|
}
|
|
public String getCode() {
|
return code;
|
}
|
|
public void setCode(String code) {
|
this.code = code;
|
}
|
|
public String getName() {
|
return name;
|
}
|
|
public void setName(String name) {
|
this.name = name;
|
}
|
|
public String getCreateId() {
|
return createId;
|
}
|
|
public void setCreateId(String createId) {
|
this.createId = createId;
|
}
|
|
public Date getCreateTime() {
|
return createTime;
|
}
|
|
public void setCreateTime(Date createTime) {
|
this.createTime = createTime;
|
}
|
|
public String getCreator() {
|
return creator;
|
}
|
|
public void setCreator(String creator) {
|
this.creator = creator;
|
}
|
|
public boolean getDeleteFlag() {
|
return deleteFlag;
|
}
|
|
public void setDeleteFlag(boolean deleteFlag) {
|
this.deleteFlag = deleteFlag;
|
}
|
|
public String getUpdateId() {
|
return updateId;
|
}
|
|
public void setUpdateId(String updateId) {
|
this.updateId = updateId;
|
}
|
|
public Date getUpdateTime() {
|
return updateTime;
|
}
|
|
public void setUpdateTime(Date updateTime) {
|
this.updateTime = updateTime;
|
}
|
|
public String getUpdator() {
|
return updator;
|
}
|
|
public void setUpdator(String updator) {
|
this.updator = updator;
|
}
|
|
}
|