📄 people.java
字号:
package model;
import org.apache.struts.action.ActionForm;
/**
* People generated by MyEclipse - Hibernate Tools
*/
public class People extends ActionForm implements java.io.Serializable {
// Fields
private Integer id;
private Subtype subtype;
private String name;
private String sex;
private String age;
// Constructors
/** default constructor */
public People() {
}
/** minimal constructor */
public People(Subtype subtype) {
this.subtype = subtype;
}
/** full constructor */
public People(Subtype subtype, String name, String sex, String age) {
this.subtype = subtype;
this.name = name;
this.sex = sex;
this.age = age;
}
// Property accessors
public Integer getId() {
return this.id;
}
public void setId(Integer id) {
this.id = id;
}
public Subtype getSubtype() {
return this.subtype;
}
public void setSubtype(Subtype subtype) {
this.subtype = subtype;
}
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 String getAge() {
return this.age;
}
public void setAge(String age) {
this.age = age;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -