📄 basestudent.java
字号:
package cn.hope.front.pojo.base;
import java.io.Serializable;
/**
* This is an object that contains data related to the student table.
* Do not modify this class because it will be overwritten if the configuration file
* related to this class is modified.
*
* @hibernate.class
* table="student"
*/
public abstract class BaseStudent implements Serializable {
public static String REF = "Student";
public static String PROP_FLAG = "flag";
public static String PROP_S_AANDW = "SAandw";
public static String PROP_S_BIO = "SBio";
public static String PROP_S_COMPUTER = "SComputer";
public static String PROP_S_DETAILED = "SDetailed";
public static String PROP_S_ENROLTIME = "SEnroltime";
public static String PROP_S_FINDPSW = "SFindpsw";
public static String PROP_S_FOLK = "SFolk";
public static String PROP_S_GPH = "SGph";
public static String PROP_S_GRALE = "SGrale";
public static String PROP_S_GRALE2 = "SGrale2";
public static String PROP_S_HPHOME = "SHphome";
public static String PROP_S_INSCHOOL = "SInschool";
public static String PROP_S_JOB = "SJob";
public static String PROP_S_KGE = "SKge";
public static String PROP_S_LANGUAGE = "SLanguage";
public static String PROP_S_LANGUAGE2 = "SLanguage2";
public static String PROP_S_LITTER = "SLitter";
public static String PROP_S_LPH = "SLph";
public static String PROP_S_LWD = "SLwd";
public static String PROP_S_MAILBOX = "SMailbox";
public static String PROP_S_MARRIAGE = "SMarriage";
public static String PROP_S_NAME = "SName";
public static String PROP_S_NMD = "SNmd";
public static String PROP_S_PASSPORT = "SPassport";
public static String PROP_S_PASSWORD = "SPassword";
public static String PROP_S_PH = "SPh";
public static String PROP_S_QUESTION = "SQuestion";
public static String PROP_S_SPECIALITY = "SSpeciality";
public static String PROP_S_SSO = "SSso";
public static String PROP_S_STIME = "SStime";
public static String PROP_S_WARKDO = "SWarkdo";
public static String PROP_S_YPH = "SYph";
public static String PROP_S_ZZID = "SZzid";
// constructors
public BaseStudent () {
initialize();
}
/**
* Constructor for primary key
*/
public BaseStudent (java.lang.String sUsername) {
this.setSUsername(sUsername);
initialize();
}
/**
* Constructor for required fields
*/
public BaseStudent (
java.lang.String sUsername,
java.lang.String flag,
java.lang.String sFindpsw,
java.lang.String sGph,
java.lang.String sHphome,
java.lang.String sLph,
java.lang.String sMailbox,
java.lang.String sName,
java.util.Date sNmd,
java.lang.String sPassport,
java.lang.String sPassword,
java.lang.String sQuestion,
java.lang.String sYph) {
this.setSUsername(sUsername);
this.setFlag(flag);
this.setSFindpsw(sFindpsw);
this.setSGph(sGph);
this.setSHphome(sHphome);
this.setSLph(sLph);
this.setSMailbox(sMailbox);
this.setSName(sName);
this.setSNmd(sNmd);
this.setSPassport(sPassport);
this.setSPassword(sPassword);
this.setSQuestion(sQuestion);
this.setSYph(sYph);
initialize();
}
protected void initialize () {}
private int hashCode = Integer.MIN_VALUE;
// primary key
private java.lang.String sUsername;
// fields
private java.lang.String flag;
private java.lang.String sAandw;
private java.lang.String sBio;
private java.lang.String sComputer;
private java.lang.String sDetailed;
private java.util.Date sEnroltime;
private java.lang.String sFindpsw;
private java.lang.String sFolk;
private java.lang.String sGph;
private java.lang.String sGrale;
private java.lang.String sGrale2;
private java.lang.String sHphome;
private java.lang.String sInschool;
private java.lang.String sJob;
private java.lang.String sKge;
private java.lang.String sLanguage;
private java.lang.String sLanguage2;
private java.lang.String sLitter;
private java.lang.String sLph;
private java.lang.String sLwd;
private java.lang.String sMailbox;
private java.lang.String sMarriage;
private java.lang.String sName;
private java.util.Date sNmd;
private java.lang.String sPassport;
private java.lang.String sPassword;
private java.lang.String sPh;
private java.lang.String sQuestion;
private java.lang.String sSpeciality;
private java.lang.String sSso;
private java.util.Date sStime;
private java.lang.String sWarkdo;
private java.lang.String sYph;
private java.lang.String sZzid;
// many to one
private cn.hope.front.pojo.SClass sClass;
private cn.hope.front.pojo.SCity sCity;
// collections
private java.util.Set cFourms;
private java.util.Set cRefourms;
private java.util.Set sBlogs;
private java.util.Set sGrades;
private java.util.Set sJournals;
private java.util.Set sReblogs;
private java.util.Set sRehws;
private java.util.Set sResults;
private java.util.Set tAresults;
private java.util.Set tReblogs;
/**
* Return the unique identifier of this class
* @hibernate.id
* generator-class="assigned"
* column="s_username"
*/
public java.lang.String getSUsername () {
return sUsername;
}
/**
* Set the unique identifier of this class
* @param sUsername the new ID
*/
public void setSUsername (java.lang.String sUsername) {
this.sUsername = sUsername;
this.hashCode = Integer.MIN_VALUE;
}
/**
* Return the value associated with the column: flag
*/
public java.lang.String getFlag () {
return flag;
}
/**
* Set the value related to the column: flag
* @param flag the flag value
*/
public void setFlag (java.lang.String flag) {
this.flag = flag;
}
/**
* Return the value associated with the column: s_aandw
*/
public java.lang.String getSAandw () {
return sAandw;
}
/**
* Set the value related to the column: s_aandw
* @param sAandw the s_aandw value
*/
public void setSAandw (java.lang.String sAandw) {
this.sAandw = sAandw;
}
/**
* Return the value associated with the column: s_bio
*/
public java.lang.String getSBio () {
return sBio;
}
/**
* Set the value related to the column: s_bio
* @param sBio the s_bio value
*/
public void setSBio (java.lang.String sBio) {
this.sBio = sBio;
}
/**
* Return the value associated with the column: s_computer
*/
public java.lang.String getSComputer () {
return sComputer;
}
/**
* Set the value related to the column: s_computer
* @param sComputer the s_computer value
*/
public void setSComputer (java.lang.String sComputer) {
this.sComputer = sComputer;
}
/**
* Return the value associated with the column: s_detailed
*/
public java.lang.String getSDetailed () {
return sDetailed;
}
/**
* Set the value related to the column: s_detailed
* @param sDetailed the s_detailed value
*/
public void setSDetailed (java.lang.String sDetailed) {
this.sDetailed = sDetailed;
}
/**
* Return the value associated with the column: s_enroltime
*/
public java.util.Date getSEnroltime () {
return sEnroltime;
}
/**
* Set the value related to the column: s_enroltime
* @param sEnroltime the s_enroltime value
*/
public void setSEnroltime (java.util.Date sEnroltime) {
this.sEnroltime = sEnroltime;
}
/**
* Return the value associated with the column: s_findpsw
*/
public java.lang.String getSFindpsw () {
return sFindpsw;
}
/**
* Set the value related to the column: s_findpsw
* @param sFindpsw the s_findpsw value
*/
public void setSFindpsw (java.lang.String sFindpsw) {
this.sFindpsw = sFindpsw;
}
/**
* Return the value associated with the column: s_folk
*/
public java.lang.String getSFolk () {
return sFolk;
}
/**
* Set the value related to the column: s_folk
* @param sFolk the s_folk value
*/
public void setSFolk (java.lang.String sFolk) {
this.sFolk = sFolk;
}
/**
* Return the value associated with the column: s_gph
*/
public java.lang.String getSGph () {
return sGph;
}
/**
* Set the value related to the column: s_gph
* @param sGph the s_gph value
*/
public void setSGph (java.lang.String sGph) {
this.sGph = sGph;
}
/**
* Return the value associated with the column: s_grale
*/
public java.lang.String getSGrale () {
return sGrale;
}
/**
* Set the value related to the column: s_grale
* @param sGrale the s_grale value
*/
public void setSGrale (java.lang.String sGrale) {
this.sGrale = sGrale;
}
/**
* Return the value associated with the column: s_grale2
*/
public java.lang.String getSGrale2 () {
return sGrale2;
}
/**
* Set the value related to the column: s_grale2
* @param sGrale2 the s_grale2 value
*/
public void setSGrale2 (java.lang.String sGrale2) {
this.sGrale2 = sGrale2;
}
/**
* Return the value associated with the column: s_hphome
*/
public java.lang.String getSHphome () {
return sHphome;
}
/**
* Set the value related to the column: s_hphome
* @param sHphome the s_hphome value
*/
public void setSHphome (java.lang.String sHphome) {
this.sHphome = sHphome;
}
/**
* Return the value associated with the column: s_inschool
*/
public java.lang.String getSInschool () {
return sInschool;
}
/**
* Set the value related to the column: s_inschool
* @param sInschool the s_inschool value
*/
public void setSInschool (java.lang.String sInschool) {
this.sInschool = sInschool;
}
/**
* Return the value associated with the column: s_job
*/
public java.lang.String getSJob () {
return sJob;
}
/**
* Set the value related to the column: s_job
* @param sJob the s_job value
*/
public void setSJob (java.lang.String sJob) {
this.sJob = sJob;
}
/**
* Return the value associated with the column: s_kge
*/
public java.lang.String getSKge () {
return sKge;
}
/**
* Set the value related to the column: s_kge
* @param sKge the s_kge value
*/
public void setSKge (java.lang.String sKge) {
this.sKge = sKge;
}
/**
* Return the value associated with the column: s_language
*/
public java.lang.String getSLanguage () {
return sLanguage;
}
/**
* Set the value related to the column: s_language
* @param sLanguage the s_language value
*/
public void setSLanguage (java.lang.String sLanguage) {
this.sLanguage = sLanguage;
}
/**
* Return the value associated with the column: s_language2
*/
public java.lang.String getSLanguage2 () {
return sLanguage2;
}
/**
* Set the value related to the column: s_language2
* @param sLanguage2 the s_language2 value
*/
public void setSLanguage2 (java.lang.String sLanguage2) {
this.sLanguage2 = sLanguage2;
}
/**
* Return the value associated with the column: s_litter
*/
public java.lang.String getSLitter () {
return sLitter;
}
/**
* Set the value related to the column: s_litter
* @param sLitter the s_litter value
*/
public void setSLitter (java.lang.String sLitter) {
this.sLitter = sLitter;
}
/**
* Return the value associated with the column: s_lph
*/
public java.lang.String getSLph () {
return sLph;
}
/**
* Set the value related to the column: s_lph
* @param sLph the s_lph value
*/
public void setSLph (java.lang.String sLph) {
this.sLph = sLph;
}
/**
* Return the value associated with the column: s_lwd
*/
public java.lang.String getSLwd () {
return sLwd;
}
/**
* Set the value related to the column: s_lwd
* @param sLwd the s_lwd value
*/
public void setSLwd (java.lang.String sLwd) {
this.sLwd = sLwd;
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -