package com.palmnest.model.estateserve;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * ScWxuser entity.
 *
 * @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "tb_wxUser")
public class WxUser implements java.io.Serializable {

	// Fields
	private Integer id;
	private String  developId;
	private String  openId;
	private String  nickName;
	private String  city;
	private String  country;
	private String  province;
	private String  language;
	private String  headimgUrl;
	private Date    subscribeTime;
	private Date    unSubscribeTime;
	private String  isSubscribe;
	private String  isBinding;
	private String  accountType;
	private Integer organizationId;
	private Integer userId;

	// Constructors

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

	// Property accessors
	@Id
	@GeneratedValue(strategy = GenerationType.AUTO)
	@Column(name = "ID", unique = true, nullable = false)
	public Integer getId() {
		return id;
	}

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


	@Column(name = "developId")
	public String getDevelopId() {
		return developId;
	}

	public void setDevelopId(String developId) {
		this.developId = developId;
	}

	@Column(name = "openId")
	public String getOpenId() {
		return openId;
	}

	public void setOpenId(String openId) {
		this.openId = openId;
	}

	@Column(name = "nickName")
	public String getNickName() {
		return nickName;
	}

	public void setNickName(String nickName) {
		this.nickName = nickName;
	}

	@Column(name = "city")
	public String getCity() {
		return city;
	}

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

	@Column(name = "country")
	public String getCountry() {
		return country;
	}

	public void setCountry(String country) {
		this.country = country;
	}

	@Column(name = "province")
	public String getProvince() {
		return province;
	}

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

	@Column(name = "language")
	public String getLanguage() {
		return language;
	}

	public void setLanguage(String language) {
		this.language = language;
	}

	@Column(name = "headimgUrl")
	public String getHeadimgUrl() {
		return headimgUrl;
	}

	public void setHeadimgUrl(String headimgUrl) {
		this.headimgUrl = headimgUrl;
	}

	@Column(name = "subscribeTime")
	public Date getSubscribeTime() {
		return subscribeTime;
	}

	public void setSubscribeTime(Date subscribeTime) {
		this.subscribeTime = subscribeTime;
	}

	@Column(name = "unSubscribeTime")
	public Date getUnSubscribeTime() {
		return unSubscribeTime;
	}

	public void setUnSubscribeTime(Date unSubscribeTime) {
		this.unSubscribeTime = unSubscribeTime;
	}

	@Column(name = "isSubscribe")
	public String getIsSubscribe() {
		return isSubscribe;
	}

	public void setIsSubscribe(String isSubscribe) {
		this.isSubscribe = isSubscribe;
	}

	@Column(name = "isBinding")
	public String getIsBinding() {
		return isBinding;
	}

	public void setIsBinding(String isBinding) {
		this.isBinding = isBinding;
	}

	@Column(name = "accountType")
	public String getAccountType() {
		return accountType;
	}

	public void setAccountType(String accountType) {
		this.accountType = accountType;
	}

	@Column(name = "organizationId")
	public Integer getOrganizationId() {
		return organizationId;
	}

	public void setOrganizationId(Integer organizationId) {
		this.organizationId = organizationId;
	}

	@Column(name = "userId")
	public Integer getUserId() {
		return userId;
	}

	public void setUserId(Integer userId) {
		this.userId = userId;
	}

}