📄 user.java
字号:
/*
* Generated by MyEclipse Struts
* Template path: templates/java/JavaClass.vtl
*/
package com.jackie.beans;
public class User {
/*
* Generated fields
*/
private int id;
/** email property */
private String email;
/** address property */
private String address;
/** userName property */
private String userName;
/** postcode property */
private String postcode;
/** city property */
private String city;
private String password;
private String code;
/*
* Generated Methods
*/
public String getPassword() {
return password;
}
public void setPassword(String password) {
this.password = password;
}
public String getCode() {
return code;
}
public void setCode(String code) {
this.code = code;
}
/**
* Method validate
*
* @param mapping
* @param request
* @return ActionErrors
*/
/**
* Returns the email.
*
* @return String
*/
public String getEmail() {
return email;
}
/**
* Set the email.
*
* @param email
* The email to set
*/
public void setEmail(String email) {
this.email = email;
}
/**
* Returns the address.
*
* @return String
*/
public String getAddress() {
return address;
}
/**
* Set the address.
*
* @param address
* The address to set
*/
public void setAddress(String address) {
this.address = address;
}
/**
* Returns the userName.
*
* @return String
*/
public String getUserName() {
return userName;
}
/**
* Set the userName.
*
* @param userName
* The userName to set
*/
public void setUserName(String userName) {
this.userName = userName;
}
/**
* Returns the postcode.
*
* @return String
*/
public String getPostcode() {
return postcode;
}
/**
* Set the postcode.
*
* @param postcode
* The postcode to set
*/
public void setPostcode(String postcode) {
this.postcode = postcode;
}
/**
* Returns the city.
*
* @return String
*/
public String getCity() {
return city;
}
/**
* Set the city.
*
* @param city
* The city to set
*/
public void setCity(String city) {
this.city = city;
}
public User(String email, String address, String userName, String postcode,
String city, String password) {
super();
this.email = email;
this.address = address;
this.userName = userName;
this.postcode = postcode;
this.city = city;
this.password = password;
}
public User() {
}
public int getId() {
return id;
}
public void setId(int id) {
this.id = id;
}
public User(int id, String userName,String city,
String postcode, String address,String email, String password) {
super();
this.id = id;
this.email = email;
this.address = address;
this.userName = userName;
this.postcode = postcode;
this.city = city;
this.password = password;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -