package com.palmnest.model.estateserve;

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

/**
 * 微信公众号——项目关联实体类
 *
 * @author yubing
 * @since 2017-1-13
 */
@Entity
@Table(name = "tr_wxpublicno_org")
public class WxPublicnoOrgRelation {

	private Integer id;
	private Integer publicnoId;
	private Integer organizationId;

	@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 = "publicNoId")
	public Integer getPublicnoId() {
		return publicnoId;
	}

	public void setPublicnoId(Integer publicnoId) {
		this.publicnoId = publicnoId;
	}

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

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