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

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

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

    /**
     * 年份
     */
    private Short year;

    /**
     * 月份
     */
    private Byte season;

    /**
     * 季度
     */
    private Byte month;

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

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

    /**
     * 收费面积
     */
    @Column(name = "charge_area")
    private BigDecimal chargeArea;

    /**
     * 备注
     */
    private String memo;

    /**
     * 创建时间
     */
    @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 = "comms")
    private Integer comms;

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

    @Column(name = "comm_name")
    private String commName;

    @Column(name = "quota_charge_area")
    private BigDecimal quotaChargeArea;

    @Column(name = "charge_rate")
    private BigDecimal chargeRate;

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

    /**
     * 开发主体
     */
    @Column(name = "develop_subject")
    private String developSubject;

    /**
     * NC系统账号
     */
    @Column(name = "nc_account")
    private String ncAccount;

    /**
     * NC系统编号
     */
    @Column(name = "nc_number")
    private String ncNumber;

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

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

    /**
     * 获取年份
     *
     * @return year - 年份
     */
    public Short getYear() {
        return year;
    }

    /**
     * 设置年份
     *
     * @param year 年份
     */
    public void setYear(Short year) {
        this.year = year;
    }

    /**
     * 获取月份
     *
     * @return month - 月份
     */
    public Byte getMonth() {
        return month;
    }

    /**
     * 设置月份
     *
     * @param month 月份
     */
    public void setMonth(Byte month) {
        this.month = month;
    }

    public Byte getSeason() {
        return season;
    }

    public void setSeason(Byte season) {
        this.season = season;
    }

    /**
     * 获取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;
    }

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

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

    /**
     * 获取收费面积
     *
     * @return charge_area - 收费面积
     */
    public BigDecimal getChargeArea() {
        return chargeArea;
    }

    /**
     * 设置收费面积
     *
     * @param chargeArea 收费面积
     */
    public void setChargeArea(BigDecimal chargeArea) {
        this.chargeArea = chargeArea;
    }

    /**
     * 获取备注
     *
     * @return memo - 备注
     */
    public String getMemo() {
        return memo;
    }

    /**
     * 设置备注
     *
     * @param memo 备注
     */
    public void setMemo(String memo) {
        this.memo = memo;
    }

    /**
     * 获取创建时间
     *
     * @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 Integer getComms() {
        return comms;
    }

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

    public String getOrganName() {
        return organName;
    }

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

    public BigDecimal getQuotaChargeArea() {
        return quotaChargeArea;
    }

    public void setQuotaChargeArea(BigDecimal quotaChargeArea) {
        this.quotaChargeArea = quotaChargeArea;
    }

    public BigDecimal getChargeRate() {
        return chargeRate;
    }

    public void setChargeRate(BigDecimal chargeRate) {
        this.chargeRate = chargeRate;
    }

    public Integer getOrganId() {
        return organId;
    }

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

    public String getCommName() {
        return commName;
    }

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

    public String getDevelopSubject() {
        return developSubject;
    }

    public void setDevelopSubject(String developSubject) {
        this.developSubject = developSubject;
    }

    public String getNcAccount() {
        return ncAccount;
    }

    public void setNcAccount(String ncAccount) {
        this.ncAccount = ncAccount;
    }

    public String getNcNumber() {
        return ncNumber;
    }

    public void setNcNumber(String ncNumber) {
        this.ncNumber = ncNumber;
    }
}