📄 peopleform.java
字号:
package com.domain;
import org.apache.struts.action.ActionForm;
public class PeopleForm extends ActionForm {
private Integer age;
private Integer id;
private String name;
private String profession;
private String sex;
public PeopleForm() {
this.age = new Integer( -1);
this.id = new Integer( -1);
this.name = "";
this.profession = "";
this.sex = "";
}
public Integer getAge() {
return age;
}
public void setAge(Integer age) {
this.age = age;
}
public void setSex(String sex) {
this.sex = sex;
}
public void setProfession(String profession) {
this.profession = profession;
}
public void setName(String name) {
this.name = name;
}
public void setId(Integer id) {
this.id = id;
}
public Integer getId() {
return id;
}
public String getName() {
return name;
}
public String getProfession() {
return profession;
}
public String getSex() {
return sex;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -