package cn.com.countrygarden.bi.main.model;

import java.math.BigDecimal;
import java.util.Date;
import javax.persistence.*;

@Table(name = "marketing_contract")
public class MarketingContract {
    /**
     * pk
     */
    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    private Integer id;

    /**
     * comm.id
     */
    @Column(name = "comm_id")
    private Integer commId;

    @Column(name = "organ_id")
    private Integer organId;

    /**
     * 是否删除
     */
    @Column(name = "is_delete")
    private Byte isDelete;

    /**
     * 签约面积，总规划面积，万平方米（上会）
     */
    @Column(name = "contract_area")
    private BigDecimal contractArea;

    @Column(name = "quota_contract_area")
    private BigDecimal quotaContractArea;

    @Column(name = "contract_rate")
    private BigDecimal contractRate;

    /**
     * 签约日期
     */
    @Column(name = "contract_date")
    private Date contractDate;

    /**
     * 状态
     */
    private String state;

    /**
     * 创建时间
     */
    @Column(name = "gmt_create")
    private Date gmtCreate;

    /**
     * 创建人ERP UserCode
     */
    @Column(name = "create_by")
    private String createBy;

    /**
     * 更新时间
     */
    @Column(name = "gmt_modified")
    private Date gmtModified;

    /**
     * 合同结束日期
     */
    @Column(name = "modified_by")
    private String modifiedBy;

    /**
     * 区域名称
     */
    @Column(name = "comm_name")
    private String commName;

    /**
     * 项目名称
     */
    @Column(name = "organ_name")
    private String organName;

    /**
     * 项目数
     */
    @Column(name = "comms")
    private Integer comms;

    /**
     * 区域数
     */
    @Column(name = "organs")
    private Integer organs;

    /**
     * 项目名称
     */
    @Column(name = "contract_month")
    private String contractMonth;

    /**
     * 合作类型
     */
    @Column(name = "corp_type")
    private String corpType;

    /**
     * 项目类型
     */
    @Column(name = "project_type")
    private String projectType;

    /**
     * 获取pk
     *
     * @return id - pk
     */
    public Integer getId() {
        return id;
    }

    /**
     * 设置pk
     *
     * @param id pk
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * 获取comm.id
     *
     * @return comm_id - comm.id
     */
    public Integer getCommId() {
        return commId;
    }

    /**
     * 设置comm.id
     *
     * @param commId comm.id
     */
    public void setCommId(Integer commId) {
        this.commId = commId;
    }

    public Integer getOrganId() {
        return organId;
    }

    public void setOrganId(Integer organId) {
        this.organId = organId;
    }

    /**
     * 获取是否删除
     *
     * @return is_delete - 是否删除
     */
    public Byte getIsDelete() {
        return isDelete;
    }

    /**
     * 设置是否删除
     *
     * @param isDelete 是否删除
     */
    public void setIsDelete(Byte isDelete) {
        this.isDelete = isDelete;
    }

    /**
     * 获取签约面积，总规划面积，万平方米（上会）
     *
     * @return contract_area - 签约面积，总规划面积，万平方米（上会）
     */
    public BigDecimal getContractArea() {
        return contractArea;
    }

    /**
     * 设置签约面积，总规划面积，万平方米（上会）
     *
     * @param contractArea 签约面积，总规划面积，万平方米（上会）
     */
    public void setContractArea(BigDecimal contractArea) {
        this.contractArea = contractArea;
    }

    /**
     * 获取签约日期
     *
     * @return contract_date - 签约日期
     */
    public Date getContractDate() {
        return contractDate;
    }

    /**
     * 设置签约日期
     *
     * @param contractDate 签约日期
     */
    public void setContractDate(Date contractDate) {
        this.contractDate = contractDate;
    }

    /**
     * 获取状态
     *
     * @return state - 状态
     */
    public String getState() {
        return state;
    }

    /**
     * 设置状态
     *
     * @param state 状态
     */
    public void setState(String state) {
        this.state = state;
    }

    /**
     * 获取创建时间
     *
     * @return gmt_create - 创建时间
     */
    public Date getGmtCreate() {
        return gmtCreate;
    }

    /**
     * 设置创建时间
     *
     * @param gmtCreate 创建时间
     */
    public void setGmtCreate(Date gmtCreate) {
        this.gmtCreate = gmtCreate;
    }

    /**
     * 获取创建人ERP UserCode
     *
     * @return create_by - 创建人ERP UserCode
     */
    public String getCreateBy() {
        return createBy;
    }

    /**
     * 设置创建人ERP UserCode
     *
     * @param createBy 创建人ERP UserCode
     */
    public void setCreateBy(String createBy) {
        this.createBy = createBy;
    }

    /**
     * 获取更新时间
     *
     * @return gmt_modified - 更新时间
     */
    public Date getGmtModified() {
        return gmtModified;
    }

    /**
     * 设置更新时间
     *
     * @param gmtModified 更新时间
     */
    public void setGmtModified(Date gmtModified) {
        this.gmtModified = gmtModified;
    }

    /**
     * 获取合同结束日期
     *
     * @return modified_by - 合同结束日期
     */
    public String getModifiedBy() {
        return modifiedBy;
    }

    /**
     * 设置合同结束日期
     *
     * @param modifiedBy 合同结束日期
     */
    public void setModifiedBy(String modifiedBy) {
        this.modifiedBy = modifiedBy;
    }

    public String getCommName() {
        return commName;
    }

    public void setCommName(String commName) {
        this.commName = commName;
    }

    public String getOrganName() {
        return organName;
    }

    public void setOrganName(String organName) {
        this.organName = organName;
    }

    public Integer getComms() {
        return comms;
    }

    public void setComms(Integer comms) {
        this.comms = comms;
    }

    public Integer getOrgans() {
        return organs;
    }

    public void setOrgans(Integer organs) {
        this.organs = organs;
    }

    public String getContractMonth() {
        return contractMonth;
    }

    public void setContractMonth(String contractMonth) {
        this.contractMonth = contractMonth;
    }

    public String getCorpType() {
        return corpType;
    }

    public void setCorpType(String corpType) {
        this.corpType = corpType;
    }

    public String getProjectType() {
        return projectType;
    }

    public void setProjectType(String projectType) {
        this.projectType = projectType;
    }

    public BigDecimal getQuotaContractArea() {
        return quotaContractArea;
    }

    public void setQuotaContractArea(BigDecimal quotaContractArea) {
        this.quotaContractArea = quotaContractArea;
    }

    public BigDecimal getContractRate() {
        return contractRate;
    }

    public void setContractRate(BigDecimal contractRate) {
        this.contractRate = contractRate;
    }
}