userform.java

来自「基于Sturts+Spring+Hibernate的一个高级销售管理系统。内容丰」· Java 代码 · 共 101 行

JAVA
101
字号
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 + =
减小字号Ctrl + -
显示快捷键?