package com.palmnest.model;

import java.io.Serializable;
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;

/**
 * 企业签约信息实体类
 *
 * @author HJY
 */

@Entity
@Table(name = "tb_ContractIinformation")
public class ContractIinformation implements Serializable {

	/**
	 * 序列号
	 */
	private static final long serialVersionUID = 7889506815170258600L;

	private Integer id;//主键ID
	private Integer organizationId;//项目ID
	private Integer virtualArchitectureId;//企业ID
	private String  status;//签约状态0-未签约，1-已签约
	private String  type;//签约类型
	private String  creator;//创建者
	private Date    createTime;//创建时间
	private String  modifier;//修改者
	private Date    modifyTime;//修改时间
	private String  isEnabled;//是否可用0-不可用，1-可用

	@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 = "organizationId")
	public Integer getOrganizationId() {
		return organizationId;
	}

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

	@Column(name = "virtualArchitectureId")
	public Integer getVirtualArchitectureId() {
		return virtualArchitectureId;
	}

	public void setVirtualArchitectureId(Integer virtualArchitectureId) {
		this.virtualArchitectureId = virtualArchitectureId;
	}

	@Column(name = "status")
	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	@Column(name = "type")
	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	@Column(name = "creator")
	public String getCreator() {
		return creator;
	}

	public void setCreator(String creator) {
		this.creator = creator;
	}

	@Column(name = "createTime")
	public Date getCreateTime() {
		return createTime;
	}

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

	@Column(name = "modifier")
	public String getModifier() {
		return modifier;
	}

	public void setModifier(String modifier) {
		this.modifier = modifier;
	}

	@Column(name = "modifyTime")
	public Date getModifyTime() {
		return modifyTime;
	}

	public void setModifyTime(Date modifyTime) {
		this.modifyTime = modifyTime;
	}

	@Column(name = "isEnabled")
	public String getIsEnabled() {
		return isEnabled;
	}

	public void setIsEnabled(String isEnabled) {
		this.isEnabled = isEnabled;
	}

}
