user.java

来自「购物车源码」· Java 代码 · 共 82 行

JAVA
82
字号
package com.charles.entity;

public class User {
	private Integer id;
	private String name;
	private String password;
	private String address;
	private String postCode;
	private String email;
	private String homePhone;
	private String cellPhone;
	private String officePhone;
	public User() {}
	public User(String name, String password, String address, String postCode, String email, String homePhone, String cellPhone, String officePhone) {
		super();
		this.name = name;
		this.password = password;
		this.address = address;
		this.postCode = postCode;
		this.email = email;
		this.homePhone = homePhone;
		this.cellPhone = cellPhone;
		this.officePhone = officePhone;
	}
	public String getAddress() {
		return address;
	}
	public void setAddress(String address) {
		this.address = address;
	}
	public String getCellPhone() {
		return cellPhone;
	}
	public void setCellPhone(String cellPhone) {
		this.cellPhone = cellPhone;
	}
	public String getEmail() {
		return email;
	}
	public void setEmail(String email) {
		this.email = email;
	}
	public String getHomePhone() {
		return homePhone;
	}
	public void setHomePhone(String homePhone) {
		this.homePhone = homePhone;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getOfficePhone() {
		return officePhone;
	}
	public void setOfficePhone(String officePhone) {
		this.officePhone = officePhone;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public String getPostCode() {
		return postCode;
	}
	public void setPostCode(String postCode) {
		this.postCode = postCode;
	}
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	
	
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?