receiveaddress.java

来自「网上购物系统」· Java 代码 · 共 167 行

JAVA
167
字号
package tarena.entity;

import java.util.HashSet;
import java.util.Set;

/**
 * Receiveaddress entity.
 * 
 * @author MyEclipse Persistence Tools
 */

public class Receiveaddress implements java.io.Serializable {

	// Fields

	private Integer id;
	private User user;
	private Byte isuserdel;
	private String receivename;
	private Countryarea province;
	private Countryarea city;
	private Countryarea area;
	private String address;
	private String zip;
	private String phone;
	private String mobile;
	private Set orderses = new HashSet(0);

	// Constructors

	/** default constructor */
	public Receiveaddress() {
	}

	/** minimal constructor */
	public Receiveaddress(User user, Byte isuserdel, String receivename,
			Countryarea province, Countryarea city, Countryarea area, String address,
			String zip) {
		this.user = user;
		this.isuserdel = isuserdel;
		this.receivename = receivename;
		this.province = province;
		this.city = city;
		this.area = area;
		this.address = address;
		this.zip = zip;
	}

	/** full constructor */
	public Receiveaddress(User user, Byte isuserdel, String receivename,
			Countryarea province, Countryarea city, Countryarea area, String address,
			String zip, String phone, String mobile, Set orderses) {
		this.user = user;
		this.isuserdel = isuserdel;
		this.receivename = receivename;
		this.province = province;
		this.city = city;
		this.area = area;
		this.address = address;
		this.zip = zip;
		this.phone = phone;
		this.mobile = mobile;
		this.orderses = orderses;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public User getUser() {
		return this.user;
	}

	public void setUser(User user) {
		this.user = user;
	}

	public Byte getIsuserdel() {
		return this.isuserdel;
	}

	public void setIsuserdel(Byte isuserdel) {
		this.isuserdel = isuserdel;
	}

	public String getReceivename() {
		return this.receivename;
	}

	public void setReceivename(String receivename) {
		this.receivename = receivename;
	}

	public Countryarea getProvince() {
		return this.province;
	}

	public void setProvince(Countryarea province) {
		this.province = province;
	}

	public Countryarea getCity() {
		return this.city;
	}

	public void setCity(Countryarea city) {
		this.city = city;
	}

	public Countryarea getArea() {
		return this.area;
	}

	public void setArea(Countryarea area) {
		this.area = area;
	}

	public String getAddress() {
		return this.address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getZip() {
		return this.zip;
	}

	public void setZip(String zip) {
		this.zip = zip;
	}

	public String getPhone() {
		return this.phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public String getMobile() {
		return this.mobile;
	}

	public void setMobile(String mobile) {
		this.mobile = mobile;
	}

	public Set getOrderses() {
		return this.orderses;
	}

	public void setOrderses(Set orderses) {
		this.orderses = orderses;
	}

	public String toString(){
		return ""+this.province+this.area+this.city+this.address;
	}
}

⌨️ 快捷键说明

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