⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 student.java

📁 持久层hibernate技术使用的一个例子
💻 JAVA
字号:
package cn.hope.mana.pojo;

import java.io.Serializable;
import java.util.Date;
import java.util.Set;
import org.apache.commons.lang.builder.ToStringBuilder;


/** @author Hibernate CodeGenerator */
public class Student implements Serializable {

    /** identifier field */
    private String SUsername;

    /** persistent field */
    private String flag;

    /** nullable persistent field */
    private String SAandw;

    /** nullable persistent field */
    private String SBio;

    /** nullable persistent field */
    private String SComputer;

    /** nullable persistent field */
    private String SDetailed;

    /** nullable persistent field */
    private Date SEnroltime;

    /** persistent field */
    private String SFindpsw;

    /** nullable persistent field */
    private String SFolk;

    /** persistent field */
    private String SGph;

    /** nullable persistent field */
    private String SGrale;

    /** nullable persistent field */
    private String SGrale2;

    /** persistent field */
    private String SHphome;

    /** nullable persistent field */
    private String SInschool;

    /** nullable persistent field */
    private String SJob;

    /** nullable persistent field */
    private String SKge;

    /** nullable persistent field */
    private String SLanguage;

    /** nullable persistent field */
    private String SLanguage2;

    /** nullable persistent field */
    private String SLitter;

    /** persistent field */
    private String SLph;

    /** nullable persistent field */
    private String SLwd;

    /** persistent field */
    private String SMailbox;

    /** nullable persistent field */
    private String SMarriage;

    /** persistent field */
    private String SName;

    /** persistent field */
    private Date SNmd;

    /** persistent field */
    private String SPassport;

    /** persistent field */
    private String SPassword;

    /** nullable persistent field */
    private String SPh;

    /** persistent field */
    private String SQuestion;

    /** nullable persistent field */
    private String SSpeciality;

    /** nullable persistent field */
    private String SSso;

    /** nullable persistent field */
    private Date SStime;

    /** nullable persistent field */
    private String SWarkdo;

    /** persistent field */
    private String SYph;

    /** nullable persistent field */
    private String SZzid;

    /** nullable persistent field */
    private cn.hope.mana.pojo.SClass SClass;

    /** nullable persistent field */
    private cn.hope.mana.pojo.SCity SCity;

    /** persistent field */
    private Set CFourms;

    /** persistent field */
    private Set CRefourms;

    /** persistent field */
    private Set SBlogs;

    /** persistent field */
    private Set SGrades;

    /** persistent field */
    private Set SJournals;

    /** persistent field */
    private Set SReblogs;

    /** persistent field */
    private Set SRehws;

    /** persistent field */
    private Set SResults;

    /** persistent field */
    private Set TAresults;

    /** persistent field */
    private Set TReblogs;

    /** full constructor */
    public Student(String flag, String SAandw, String SBio, String SComputer, String SDetailed, Date SEnroltime, String SFindpsw, String SFolk, String SGph, String SGrale, String SGrale2, String SHphome, String SInschool, String SJob, String SKge, String SLanguage, String SLanguage2, String SLitter, String SLph, String SLwd, String SMailbox, String SMarriage, String SName, Date SNmd, String SPassport, String SPassword, String SPh, String SQuestion, String SSpeciality, String SSso, Date SStime, String SWarkdo, String SYph, String SZzid, cn.hope.mana.pojo.SClass SClass, cn.hope.mana.pojo.SCity SCity, Set CFourms, Set CRefourms, Set SBlogs, Set SGrades, Set SJournals, Set SReblogs, Set SRehws, Set SResults, Set TAresults, Set TReblogs) {
        this.flag = flag;
        this.SAandw = SAandw;
        this.SBio = SBio;
        this.SComputer = SComputer;
        this.SDetailed = SDetailed;
        this.SEnroltime = SEnroltime;
        this.SFindpsw = SFindpsw;
        this.SFolk = SFolk;
        this.SGph = SGph;
        this.SGrale = SGrale;
        this.SGrale2 = SGrale2;
        this.SHphome = SHphome;
        this.SInschool = SInschool;
        this.SJob = SJob;
        this.SKge = SKge;
        this.SLanguage = SLanguage;
        this.SLanguage2 = SLanguage2;
        this.SLitter = SLitter;
        this.SLph = SLph;
        this.SLwd = SLwd;
        this.SMailbox = SMailbox;
        this.SMarriage = SMarriage;
        this.SName = SName;
        this.SNmd = SNmd;
        this.SPassport = SPassport;
        this.SPassword = SPassword;
        this.SPh = SPh;
        this.SQuestion = SQuestion;
        this.SSpeciality = SSpeciality;
        this.SSso = SSso;
        this.SStime = SStime;
        this.SWarkdo = SWarkdo;
        this.SYph = SYph;
        this.SZzid = SZzid;
        this.SClass = SClass;
        this.SCity = SCity;
        this.CFourms = CFourms;
        this.CRefourms = CRefourms;
        this.SBlogs = SBlogs;
        this.SGrades = SGrades;
        this.SJournals = SJournals;
        this.SReblogs = SReblogs;
        this.SRehws = SRehws;
        this.SResults = SResults;
        this.TAresults = TAresults;
        this.TReblogs = TReblogs;
    }

    /** default constructor */
    public Student() {
    }

    /** minimal constructor */
    public Student(String flag, String SFindpsw, String SGph, String SHphome, String SLph, String SMailbox, String SName, Date SNmd, String SPassport, String SPassword, String SQuestion, String SYph, Set CFourms, Set CRefourms, Set SBlogs, Set SGrades, Set SJournals, Set SReblogs, Set SRehws, Set SResults, Set TAresults, Set TReblogs) {
        this.flag = flag;
        this.SFindpsw = SFindpsw;
        this.SGph = SGph;
        this.SHphome = SHphome;
        this.SLph = SLph;
        this.SMailbox = SMailbox;
        this.SName = SName;
        this.SNmd = SNmd;
        this.SPassport = SPassport;
        this.SPassword = SPassword;
        this.SQuestion = SQuestion;
        this.SYph = SYph;
        this.CFourms = CFourms;
        this.CRefourms = CRefourms;
        this.SBlogs = SBlogs;
        this.SGrades = SGrades;
        this.SJournals = SJournals;
        this.SReblogs = SReblogs;
        this.SRehws = SRehws;
        this.SResults = SResults;
        this.TAresults = TAresults;
        this.TReblogs = TReblogs;
    }

    public String getSUsername() {
        return this.SUsername;
    }

    public void setSUsername(String SUsername) {
        this.SUsername = SUsername;
    }

    public String getFlag() {
        return this.flag;
    }

    public void setFlag(String flag) {
        this.flag = flag;
    }

    public String getSAandw() {
        return this.SAandw;
    }

    public void setSAandw(String SAandw) {
        this.SAandw = SAandw;
    }

    public String getSBio() {
        return this.SBio;
    }

    public void setSBio(String SBio) {
        this.SBio = SBio;
    }

    public String getSComputer() {
        return this.SComputer;
    }

    public void setSComputer(String SComputer) {
        this.SComputer = SComputer;
    }

    public String getSDetailed() {
        return this.SDetailed;
    }

    public void setSDetailed(String SDetailed) {
        this.SDetailed = SDetailed;
    }

    public Date getSEnroltime() {
        return this.SEnroltime;
    }

    public void setSEnroltime(Date SEnroltime) {
        this.SEnroltime = SEnroltime;
    }

    public String getSFindpsw() {
        return this.SFindpsw;
    }

    public void setSFindpsw(String SFindpsw) {
        this.SFindpsw = SFindpsw;
    }

    public String getSFolk() {
        return this.SFolk;
    }

    public void setSFolk(String SFolk) {
        this.SFolk = SFolk;
    }

    public String getSGph() {
        return this.SGph;
    }

    public void setSGph(String SGph) {
        this.SGph = SGph;
    }

    public String getSGrale() {
        return this.SGrale;
    }

    public void setSGrale(String SGrale) {
        this.SGrale = SGrale;
    }

    public String getSGrale2() {
        return this.SGrale2;
    }

    public void setSGrale2(String SGrale2) {
        this.SGrale2 = SGrale2;
    }

    public String getSHphome() {
        return this.SHphome;
    }

    public void setSHphome(String SHphome) {
        this.SHphome = SHphome;
    }

    public String getSInschool() {
        return this.SInschool;
    }

    public void setSInschool(String SInschool) {
        this.SInschool = SInschool;
    }

    public String getSJob() {
        return this.SJob;
    }

    public void setSJob(String SJob) {
        this.SJob = SJob;
    }

    public String getSKge() {
        return this.SKge;
    }

    public void setSKge(String SKge) {
        this.SKge = SKge;
    }

    public String getSLanguage() {
        return this.SLanguage;
    }

    public void setSLanguage(String SLanguage) {
        this.SLanguage = SLanguage;
    }

    public String getSLanguage2() {
        return this.SLanguage2;
    }

    public void setSLanguage2(String SLanguage2) {
        this.SLanguage2 = SLanguage2;
    }

    public String getSLitter() {
        return this.SLitter;
    }

    public void setSLitter(String SLitter) {
        this.SLitter = SLitter;
    }

    public String getSLph() {
        return this.SLph;
    }

    public void setSLph(String SLph) {
        this.SLph = SLph;
    }

    public String getSLwd() {
        return this.SLwd;
    }

    public void setSLwd(String SLwd) {
        this.SLwd = SLwd;
    }

    public String getSMailbox() {
        return this.SMailbox;
    }

    public void setSMailbox(String SMailbox) {
        this.SMailbox = SMailbox;
    }

    public String getSMarriage() {
        return this.SMarriage;
    }

    public void setSMarriage(String SMarriage) {
        this.SMarriage = SMarriage;
    }

    public String getSName() {
        return this.SName;
    }

    public void setSName(String SName) {
        this.SName = SName;
    }

    public Date getSNmd() {
        return this.SNmd;
    }

    public void setSNmd(Date SNmd) {
        this.SNmd = SNmd;
    }

    public String getSPassport() {
        return this.SPassport;
    }

    public void setSPassport(String SPassport) {
        this.SPassport = SPassport;
    }

    public String getSPassword() {
        return this.SPassword;
    }

    public void setSPassword(String SPassword) {
        this.SPassword = SPassword;
    }

    public String getSPh() {
        return this.SPh;
    }

    public void setSPh(String SPh) {
        this.SPh = SPh;
    }

    public String getSQuestion() {
        return this.SQuestion;
    }

    public void setSQuestion(String SQuestion) {
        this.SQuestion = SQuestion;
    }

    public String getSSpeciality() {
        return this.SSpeciality;
    }

    public void setSSpeciality(String SSpeciality) {
        this.SSpeciality = SSpeciality;
    }

    public String getSSso() {
        return this.SSso;
    }

    public void setSSso(String SSso) {
        this.SSso = SSso;
    }

    public Date getSStime() {
        return this.SStime;
    }

    public void setSStime(Date SStime) {
        this.SStime = SStime;
    }

    public String getSWarkdo() {
        return this.SWarkdo;
    }

    public void setSWarkdo(String SWarkdo) {
        this.SWarkdo = SWarkdo;
    }

    public String getSYph() {
        return this.SYph;
    }

    public void setSYph(String SYph) {
        this.SYph = SYph;
    }

    public String getSZzid() {
        return this.SZzid;
    }

    public void setSZzid(String SZzid) {
        this.SZzid = SZzid;
    }

    public cn.hope.mana.pojo.SClass getSClass() {
        return this.SClass;
    }

    public void setSClass(cn.hope.mana.pojo.SClass SClass) {
        this.SClass = SClass;
    }

    public cn.hope.mana.pojo.SCity getSCity() {
        return this.SCity;
    }

    public void setSCity(cn.hope.mana.pojo.SCity SCity) {
        this.SCity = SCity;
    }

    public Set getCFourms() {
        return this.CFourms;
    }

    public void setCFourms(Set CFourms) {
        this.CFourms = CFourms;
    }

    public Set getCRefourms() {
        return this.CRefourms;
    }

    public void setCRefourms(Set CRefourms) {
        this.CRefourms = CRefourms;
    }

    public Set getSBlogs() {
        return this.SBlogs;
    }

    public void setSBlogs(Set SBlogs) {
        this.SBlogs = SBlogs;
    }

    public Set getSGrades() {
        return this.SGrades;
    }

    public void setSGrades(Set SGrades) {
        this.SGrades = SGrades;
    }

    public Set getSJournals() {
        return this.SJournals;
    }

    public void setSJournals(Set SJournals) {
        this.SJournals = SJournals;
    }

    public Set getSReblogs() {
        return this.SReblogs;
    }

    public void setSReblogs(Set SReblogs) {
        this.SReblogs = SReblogs;
    }

    public Set getSRehws() {
        return this.SRehws;
    }

    public void setSRehws(Set SRehws) {
        this.SRehws = SRehws;
    }

    public Set getSResults() {
        return this.SResults;
    }

    public void setSResults(Set SResults) {
        this.SResults = SResults;
    }

    public Set getTAresults() {
        return this.TAresults;
    }

    public void setTAresults(Set TAresults) {
        this.TAresults = TAresults;
    }

    public Set getTReblogs() {
        return this.TReblogs;
    }

    public void setTReblogs(Set TReblogs) {
        this.TReblogs = TReblogs;
    }

    public String toString() {
        return new ToStringBuilder(this)
            .append("SUsername", getSUsername())
            .toString();
    }

}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -