📄 student.java
字号:
package org.yangyang.bean;
import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.HashSet;
import java.util.Set;
/**
* Student generated by MyEclipse - Hibernate Tools
*/
public class Student implements java.io.Serializable {
// Fields
private String id;
private String identitycard;
private String name;
private String sex;
private long age;
private String speciality;
private String address;
private String nativeplace;
private String birthday;
private String joindate;
private Date deldate;
private Date updatedate;
private Set results = new HashSet(0);
// Constructors
/** default constructor */
public Student() {
}
/** minimal constructor */
public Student(String identitycard, String name, String sex, long age, String speciality, String address, String nativeplace, String birthday, String joindate) {
this.identitycard = identitycard;
this.name = name;
this.sex = sex;
this.age = age;
this.speciality = speciality;
this.address = address;
this.nativeplace = nativeplace;
this.birthday = birthday;
this.joindate = joindate;
}
/** full constructor */
public Student(String identitycard, String name, String sex, long age, String speciality, String address, String nativeplace, String birthday, String joindate, Date deldate, Date updatedate, Set results) {
this.identitycard = identitycard;
this.name = name;
this.sex = sex;
this.age = age;
this.speciality = speciality;
this.address = address;
this.nativeplace = nativeplace;
this.birthday = birthday;
this.joindate = joindate;
this.deldate = deldate;
this.updatedate = updatedate;
this.results = results;
}
// Property accessors
public String getId() {
return this.id;
}
public void setId(String id) {
this.id = id;
}
public String getIdentitycard() {
return this.identitycard;
}
public void setIdentitycard(String identitycard) {
this.identitycard = identitycard;
}
public String getName() {
return this.name;
}
public void setName(String name) {
this.name = name;
}
public String getSex() {
return this.sex;
}
public void setSex(String sex) {
this.sex = sex;
}
public long getAge() {
return this.age;
}
public void setAge(long age) {
this.age = age;
}
public String getSpeciality() {
return this.speciality;
}
public void setSpeciality(String speciality) {
this.speciality = speciality;
}
public String getAddress() {
return this.address;
}
public void setAddress(String address) {
this.address = address;
}
public String getNativeplace() {
return this.nativeplace;
}
public void setNativeplace(String nativeplace) {
this.nativeplace = nativeplace;
}
public String getBirthday() {
return this.birthday;
}
public void setBirthday(String birthday) {
this.birthday = birthday;
}
public String getJoindate() {
return this.joindate;
}
public void setJoindate(String joindate) {
this.joindate = joindate;
}
public Date getDeldate() {
return this.deldate;
}
public void setDeldate(Date deldate) {
this.deldate = deldate;
}
public Date getUpdatedate() {
return this.updatedate;
}
public void setUpdatedate(Date updatedate) {
this.updatedate = updatedate;
}
public Set getResults() {
return this.results;
}
public void setResults(Set results) {
this.results = results;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -