package com.qxueyou.scc.user.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 javax.persistence.Transient; import org.hibernate.annotations.GenericGenerator; import org.springframework.format.annotation.DateTimeFormat; import com.qxueyou.scc.base.model.ITrace; /** * The persistent class for the user_registration_custom database table. * */ @Entity @Table(name="user_registration_custom") @NamedQuery(name="UserRegistrationCustom.findAll", query="SELECT u FROM UserRegistrationCustom u") public class UserRegistrationCustom implements Serializable, ITrace { private static final long serialVersionUID = 1L; @Id @GeneratedValue(generator = "hibernate-uuid") @GenericGenerator(name = "hibernate-uuid", strategy = "uuid") @Column(name="reg_custom_id") private String regCustomId; @Column(name="class_id") private String classId; @Column(name="CREATE_ID") private String createId; @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") @Column(name="CREATE_TIME") private Date createTime; private String creator; @Column(name="custom_id") private String customId; @Column(name="custom_name") private String customName; @Column(name="custom_value") private String customValue; @Column(name="DELETE_FLAG") private boolean deleteFlag; @Column(name="REGISTRATION_ID") private String registrationId; @Column(name="UPDATE_ID") private String updateId; @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") @Column(name="UPDATE_TIME") private Date updateTime; private String updator; @Column(name="user_id") private String userId; @Transient private String mobilePhone; public String getMobilePhone() { return mobilePhone; } public void setMobilePhone(String mobilePhone) { this.mobilePhone = mobilePhone; } public String getRegCustomId() { return this.regCustomId; } public void setRegCustomId(String regCustomId) { this.regCustomId = regCustomId; } public String getClassId() { return this.classId; } public void setClassId(String classId) { this.classId = classId; } public String getCreateId() { return this.createId; } public void setCreateId(String createId) { this.createId = createId; } public Date getCreateTime() { return this.createTime; } public void setCreateTime(Date createTime) { this.createTime = createTime; } public String getCreator() { return this.creator; } public void setCreator(String creator) { this.creator = creator; } public String getCustomId() { return this.customId; } public void setCustomId(String customId) { this.customId = customId; } public String getCustomName() { return this.customName; } public void setCustomName(String customName) { this.customName = customName; } public String getCustomValue() { return this.customValue; } public void setCustomValue(String customValue) { this.customValue = customValue; } public boolean getDeleteFlag() { return this.deleteFlag; } public void setDeleteFlag(boolean deleteFlag) { this.deleteFlag = deleteFlag; } public String getRegistrationId() { return this.registrationId; } public void setRegistrationId(String registrationId) { this.registrationId = registrationId; } public String getUpdateId() { return this.updateId; } public void setUpdateId(String updateId) { this.updateId = updateId; } public Date getUpdateTime() { return this.updateTime; } public void setUpdateTime(Date updateTime) { this.updateTime = updateTime; } public String getUpdator() { return this.updator; } public void setUpdator(String updator) { this.updator = updator; } public String getUserId() { return this.userId; } public void setUserId(String userId) { this.userId = userId; } }