loginform.java
来自「用STRUTS ,HIBERNATE, SPRING 三种框架整合做的实战项目」· Java 代码 · 共 69 行
JAVA
69 行
package com.ghy.data.customer;
import org.apache.struts.validator.ValidatorForm;
public class LoginForm extends ValidatorForm {
private String action ;
private String type ;
private String name ;
private String password ;
public LoginForm() {
super();
// TODO Auto-generated constructor stub
}
/**
* @return the action
*/
public String getAction() {
return action;
}
/**
* @param action the action to set
*/
public void setAction(String action) {
this.action = action;
}
/**
* @return the type
*/
public String getType() {
return type;
}
/**
* @param type the type to set
*/
public void setType(String type) {
this.type = type;
}
/**
* @return the name
*/
public String getName() {
return name;
}
/**
* @param name the name to set
*/
public void setName(String name) {
this.name = name;
}
/**
* @return the password
*/
public String getPassword() {
return password;
}
/**
* @param password the password to set
*/
public void setPassword(String password) {
this.password = password;
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?