package com.palmnest.model.release;

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;


@Entity
@Table(name = "tb_renovation_manage")
public class RenovationManage implements Serializable {

	/**
	 *
	 */
	private static final long serialVersionUID = -6467536556080567372L;


	private Long    id;
	private Integer createdBy;
	private Date    createdAt;
	private Integer updatedBy;
	private Date    updatedAt;
	private Integer orgId;
	private Integer virtId;
	private Integer creatorBillId;//创建者微信用户Id
	private String  code;
	private String  applyUser;
	private String  applyTel;
	private String  renovationCompany;
	private String  renovationUser;
	private String  renovationTel;
	private String  buildId;
	private String  floorIds;
	private String  roomIds;
	private String  address;
	private Date    startTime;
	private Date    endTime;
	/**
	 * 状态 1待审核2已通过3未通过
	 */
	private Integer status;
	private Date    applyTime;
	private Integer auditUserId;
	private Date    auditTime;
	private Integer auditResult;
	private String  auditOpinion;


	@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 = "created_by")
	public Integer getCreatedBy() {
		return createdBy;
	}


	public void setCreatedBy(Integer createdBy) {
		this.createdBy = createdBy;
	}


	@Column(name = "created_at")
	public Date getCreatedAt() {
		return createdAt;
	}


	public void setCreatedAt(Date createdAt) {
		this.createdAt = createdAt;
	}


	@Column(name = "updated_by")
	public Integer getUpdatedBy() {
		return updatedBy;
	}


	public void setUpdatedBy(Integer updatedBy) {
		this.updatedBy = updatedBy;
	}


	@Column(name = "updated_at")
	public Date getUpdatedAt() {
		return updatedAt;
	}


	public void setUpdatedAt(Date updatedAt) {
		this.updatedAt = updatedAt;
	}


	@Column(name = "org_id")
	public Integer getOrgId() {
		return orgId;
	}


	public void setOrgId(Integer orgId) {
		this.orgId = orgId;
	}


	@Column(name = "virt_id")
	public Integer getVirtId() {
		return virtId;
	}


	public void setVirtId(Integer virtId) {
		this.virtId = virtId;
	}


	@Column(name = "apply_user")
	public String getApplyUser() {
		return applyUser;
	}


	public void setApplyUser(String applyUser) {
		this.applyUser = applyUser;
	}


	@Column(name = "apply_tel")
	public String getApplyTel() {
		return applyTel;
	}


	public void setApplyTel(String applyTel) {
		this.applyTel = applyTel;
	}


	@Column(name = "renovation_company")
	public String getRenovationCompany() {
		return renovationCompany;
	}


	public void setRenovationCompany(String renovationCompany) {
		this.renovationCompany = renovationCompany;
	}


	@Column(name = "renovation_user")
	public String getRenovationUser() {
		return renovationUser;
	}


	public void setRenovationUser(String renovationUser) {
		this.renovationUser = renovationUser;
	}


	@Column(name = "renovation_tel")
	public String getRenovationTel() {
		return renovationTel;
	}


	public void setRenovationTel(String renovationTel) {
		this.renovationTel = renovationTel;
	}


	public String getAddress() {
		return address;
	}


	public void setAddress(String address) {
		this.address = address;
	}


	@Column(name = "start_time")
	public Date getStartTime() {
		return startTime;
	}


	public void setStartTime(Date startTime) {
		this.startTime = startTime;
	}


	@Column(name = "end_time")
	public Date getEndTime() {
		return endTime;
	}


	public void setEndTime(Date endTime) {
		this.endTime = endTime;
	}


	public Integer getStatus() {
		return status;
	}


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

	@Column(name = "apply_time")
	public Date getApplyTime() {
		return applyTime;
	}


	public void setApplyTime(Date applyTime) {
		this.applyTime = applyTime;
	}


	@Column(name = "audit_user_id")
	public Integer getAuditUserId() {
		return auditUserId;
	}


	public void setAuditUserId(Integer auditUserId) {
		this.auditUserId = auditUserId;
	}


	@Column(name = "audit_time")
	public Date getAuditTime() {
		return auditTime;
	}


	public void setAuditTime(Date auditTime) {
		this.auditTime = auditTime;
	}


	@Column(name = "audit_result")
	public Integer getAuditResult() {
		return auditResult;
	}


	public void setAuditResult(Integer auditResult) {
		this.auditResult = auditResult;
	}

	@Column(name = "audit_opinion")
	public String getAuditOpinion() {
		return auditOpinion;
	}


	public void setAuditOpinion(String auditOpinion) {
		this.auditOpinion = auditOpinion;
	}

	@Column(name = "creator_bill_id")
	public Integer getCreatorBillId() {
		return creatorBillId;
	}


	public void setCreatorBillId(Integer creatorBillId) {
		this.creatorBillId = creatorBillId;
	}


	public String getCode() {
		return code;
	}


	public void setCode(String code) {
		this.code = code;
	}


	public String getBuildId() {
		return buildId;
	}


	public void setBuildId(String buildId) {
		this.buildId = buildId;
	}


	public String getFloorIds() {
		return floorIds;
	}


	public void setFloorIds(String floorIds) {
		this.floorIds = floorIds;
	}


	public String getRoomIds() {
		return roomIds;
	}


	public void setRoomIds(String roomIds) {
		this.roomIds = roomIds;
	}
}
