?? userform.java
字號:
package com.yuanchung.sales.struts.user.form;
import javax.servlet.http.HttpServletRequest;
import org.apache.struts.action.ActionForm;
import org.apache.struts.action.ActionMapping;
import com.yuanchung.sales.model.Treeview;
public class UserForm extends ActionForm{
private String userName;
private String password;
private String familyName;
private String position;
private int positionId;
private String email;
private String phone;
private String type;
private Integer isDeptLead;
private Integer treeviewId;
private Integer deptId;
private Integer id;
public Integer getDeptId() {
return deptId;
}
public void setDeptId(Integer deptId) {
this.deptId = deptId;
}
public int getPositionId() {
return positionId;
}
public void setPositionId(int positionId) {
this.positionId = positionId;
}
public Integer getId() {
return id;
}
public void setId(Integer id) {
this.id = id;
}
public String getUserName() {
return userName;
}
public void setUserName(String userName) {
this.userName = userName;
}
public String getPassword() {
return password;
}
public void setPassword(String password) {
this.password = password;
}
public String getFamilyName() {
return familyName;
}
public void setFamilyName(String familyName) {
this.familyName = familyName;
}
public String getPosition() {
return position;
}
public void setPosition(String position) {
this.position = position;
}
public String getEmail() {
return email;
}
public void setEmail(String email) {
this.email = email;
}
public String getPhone() {
return phone;
}
public void setPhone(String phone) {
this.phone = phone;
}
public String getType() {
return type;
}
public void setType(String type) {
this.type = type;
}
@Override
public void reset(ActionMapping mapping, HttpServletRequest request) {
super.reset(mapping, request);
this.password = "12345";
}
public Integer getIsDeptLead() {
return isDeptLead;
}
public void setIsDeptLead(Integer isDeptLead) {
this.isDeptLead = isDeptLead;
}
public Integer getTreeviewId() {
return treeviewId;
}
public void setTreeviewId(Integer treeviewId) {
this.treeviewId = treeviewId;
}
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -