package com.sifang.modules.platform.entity;

import org.hibernate.annotations.GenericGenerator;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;

@Entity
@Table(name = "crm_site_receiving_info")
public class CrmSiteReceivingInfo implements Serializable {
	private static final long serialVersionUID = -5340162154911599643L;
	private String id;
     private String receiver;
     private String mobile;
     private String province;
     private String city;
     private String area;
     private String address;
     private String postalCode;
     private Date createTime;
     private Date updateTime;
     private String dafaultAddress;
     private String releType;
     private String siteId;




	public String getReleType() {
		return releType;
	}

	public void setReleType(String releType) {
		this.releType = releType;
	}

	public String getSiteId() {
		return siteId;
	}

	public void setSiteId(String siteId) {
		this.siteId = siteId;
	}

	public CrmSiteReceivingInfo(){
 	super();
 	this.createTime = new Date();
 	this.dafaultAddress = "1";
 }

	@Id
	@GeneratedValue(generator = "idGenerator")
	@GenericGenerator(name = "idGenerator", strategy = "uuid")
	public String getId() {
		return id;
	}

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


	public String getReceiver() {
		return receiver;
	}

	public void setReceiver(String receiver) {
		this.receiver = receiver;
	}

	public String getMobile() {
		return mobile;
	}

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

	public String getProvince() {
		return province;
	}

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

	public String getCity() {
		return city;
	}

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

	public String getArea() {
		return area;
	}

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

	public String getAddress() {
		return address;
	}

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

	public String getPostalCode() {
		return postalCode;
	}

	public void setPostalCode(String postalCode) {
		this.postalCode = postalCode;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Date getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	public String getDafaultAddress() {
		return dafaultAddress;
	}

	public void setDafaultAddress(String dafaultAddress) {
		this.dafaultAddress = dafaultAddress;
	}
}
