package com.palmnest.model.airconditioner;

import javax.persistence.*;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;


/**
 * 项目配置
 *
 * @author qzy
 */

@Entity
@Table(name = "tb_projectConfig")
public class ProjectConfig implements Serializable {


	private static final long serialVersionUID = -6113509826640180867L;

	private Long       id;
	private Long       organizationId;//项目ID
	private BigDecimal beforeApplyTime;        //提前申请时间
	private BigDecimal beforeCancelTime;        //提前取消时间
	private Integer    satDataType;        //周六日期类型(勾选后非节假日的周六为工作日 0否 1是
	private String     creator;            //创建者
	private Date       createTime;        //创建日期
	private String     modifier;        //修改者
	private Date       modifyTime;        //修改日期
	private Integer isSelectRoom;        //是否可选房间号


	@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;
	}

	public Long getOrganizationId() {
		return organizationId;
	}

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

	public BigDecimal getBeforeApplyTime() {
		return beforeApplyTime;
	}

	public void setBeforeApplyTime(BigDecimal beforeApplyTime) {
		this.beforeApplyTime = beforeApplyTime;
	}

	public BigDecimal getBeforeCancelTime() {
		return beforeCancelTime;
	}

	public void setBeforeCancelTime(BigDecimal beforeCancelTime) {
		this.beforeCancelTime = beforeCancelTime;
	}

	public Integer getSatDataType() {
		return satDataType;
	}

	public void setSatDataType(Integer satDataType) {
		this.satDataType = satDataType;
	}

	public String getCreator() {
		return creator;
	}

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

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

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

	public String getModifier() {
		return modifier;
	}

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

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

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

	@Column(name = "isSelectRoom")
	public Integer getIsSelectRoom() {
		return isSelectRoom;
	}

	public void setIsSelectRoom(Integer isSelectRoom) {
		this.isSelectRoom = isSelectRoom;
	}
	
	
	
	
	
}
