// default package /** * AbstractStudent entity provides the base persistence definition of the * Student entity. @author MyEclipse Persistence Tools */ public abstract class AbstractStudent implements java.io.Serializable { // Fields private Integer id; private String stuNo; private String stuName; private String nickName; private String homeTown; private String qq; private String stuPhone; private String father; private String fatherPhone; private String mather; private String matherPhone; private String company; private String city; private Short classId; private String dormotory; private Boolean sex; // Constructors /** default constructor */ public AbstractStudent() { } /** minimal constructor */ public AbstractStudent(String stuNo, String stuName, Short classId) { this.stuNo = stuNo; this.stuName = stuName; this.classId = classId; } /** full constructor */ public AbstractStudent(String stuNo, String stuName, String nickName, String homeTown, String qq, String stuPhone, String father, String fatherPhone, String mather, String matherPhone, String company, String city, Short classId, String dormotory, Boolean sex) { this.stuNo = stuNo; this.stuName = stuName; this.nickName = nickName; this.homeTown = homeTown; this.qq = qq; this.stuPhone = stuPhone; this.father = father; this.fatherPhone = fatherPhone; this.mather = mather; this.matherPhone = matherPhone; this.company = company; this.city = city; this.classId = classId; this.dormotory = dormotory; this.sex = sex; } // Property accessors public Integer getId() { return this.id; } public void setId(Integer id) { this.id = id; } public String getStuNo() { return this.stuNo; } public void setStuNo(String stuNo) { this.stuNo = stuNo; } public String getStuName() { return this.stuName; } public void setStuName(String stuName) { this.stuName = stuName; } public String getNickName() { return this.nickName; } public void setNickName(String nickName) { this.nickName = nickName; } public String getHomeTown() { return this.homeTown; } public void setHomeTown(String homeTown) { this.homeTown = homeTown; } public String getQq() { return this.qq; } public void setQq(String qq) { this.qq = qq; } public String getStuPhone() { return this.stuPhone; } public void setStuPhone(String stuPhone) { this.stuPhone = stuPhone; } public String getFather() { return this.father; } public void setFather(String father) { this.father = father; } public String getFatherPhone() { return this.fatherPhone; } public void setFatherPhone(String fatherPhone) { this.fatherPhone = fatherPhone; } public String getMather() { return this.mather; } public void setMather(String mather) { this.mather = mather; } public String getMatherPhone() { return this.matherPhone; } public void setMatherPhone(String matherPhone) { this.matherPhone = matherPhone; } public String getCompany() { return this.company; } public void setCompany(String company) { this.company = company; } public String getCity() { return this.city; } public void setCity(String city) { this.city = city; } public Short getClassId() { return this.classId; } public void setClassId(Short classId) { this.classId = classId; } public String getDormotory() { return this.dormotory; } public void setDormotory(String dormotory) { this.dormotory = dormotory; } public Boolean getSex() { return this.sex; } public void setSex(Boolean sex) { this.sex = sex; } }