package com.palmnest.model;

import javax.persistence.*;

/**
 * 运营中心-项目关系表实体
 * Created by hxt on 2018/7/30.
 */
@Entity
@Table(name = "tr_company_org")
public class CompanyRelationOrg {

	private Long    id;
	private Integer companyId;
	private Integer organizationId;

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

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

	@Column(name = "company_id")
	public Integer getCompanyId() {
		return companyId;
	}

	public void setCompanyId(Integer companyId) {
		this.companyId = companyId;
	}

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

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