📄 acountform.java
字号:
package com.actionForm;
import org.apache.struts.action.*;
public class AcountForm extends ActionForm {
private int age;
private int number;
private int id;
private String account;
private String born;
private String name;
private String password;
private String profession;
private String sex;
public AcountForm() {
this.age = 0;
this.number = 0;
this.id = 0;
this.account = "";
this.born = "";
this.name = "";
this.password = "";
this.profession = "";
this.sex = "";
}
public String getAccount() {
return account;
}
public void setAccount(String account) {
this.account = account;
}
public void setSex(String sex) {
this.sex = sex;
}
public void setProfession(String profession) {
this.profession = profession;
}
public void setPassword(String password) {
this.password = password;
}
public void setName(String name) {
this.name = name;
}
public void setBorn(String born) {
this.born = born;
}
public void setAge(int age) {
this.age = age;
}
public void setNumber(int number) {
this.number = number;
}
public void setId(int id) {
this.id = id;
}
public String getBorn() {
return born;
}
public String getName() {
return name;
}
public String getPassword() {
return password;
}
public String getProfession() {
return profession;
}
public String getSex() {
return sex;
}
public int getAge() {
return age;
}
public int getNumber() {
return number;
}
public int getId() {
return id;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -