📄 student.java
字号:
package com.team.pojo;
import java.io.Serializable;
import com.team.base.BaseVO;
/**
* Student entity.
*
* @author MyEclipse Persistence Tools
*/
public class Student implements java.io.Serializable,BaseVO {
// Fields
private Integer stuId;
private String stuname;
private String sex;
private Integer age;
private Integer teamType;
private Team team;
// Constructors
public Team getTeam() {
return team;
}
public void setTeam(Team team) {
this.team = team;
}
/** default constructor */
public Student() {
}
/** minimal constructor */
public Student(Integer stuId) {
this.stuId = stuId;
}
/** full constructor */
public Student(Integer stuId, String stuname, String sex, Integer age,
Integer teamType) {
this.stuId = stuId;
this.stuname = stuname;
this.sex = sex;
this.age = age;
this.teamType = teamType;
}
// Property accessors
public Integer getStuId() {
return this.stuId;
}
public void setStuId(Integer stuId) {
this.stuId = stuId;
}
public String getStuname() {
return this.stuname;
}
public void setStuname(String stuname) {
this.stuname = stuname;
}
public String getSex() {
return this.sex;
}
public void setSex(String sex) {
this.sex = sex;
}
public Integer getAge() {
return this.age;
}
public void setAge(Integer age) {
this.age = age;
}
public Integer getTeamType() {
return this.teamType;
}
public void setTeamType(Integer teamType) {
this.teamType = teamType;
}
public Serializable getID() {
// TODO Auto-generated method stub
return stuId;
}
public void setID(Serializable id) {
// TODO Auto-generated method stub
this.stuId=(Integer)id;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -