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

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

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

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

    /**
     * 月份
     */
    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;

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

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

    /**
     * 非标收费
     */
    @Column(name = "additional_charge")
    private Boolean additionalCharge;

    /**
     * 是否新增收费
     */
    @Column(name = "increase_charge")
    private Boolean increaseCharge;

    @Column(name = "start_date")
    private Date startDate;

    @Column(name = "end_date")
    private Date endDate;


    /**
     * 上月收费面积
     */
    private String lastMonthChargeArea;
    /**
     * 本月收费面积
     */
    private String thisMonthChargeArea;

    public String getLastMonthChargeArea() {
        return lastMonthChargeArea;
    }

    public void setLastMonthChargeArea(String lastMonthChargeArea) {
        this.lastMonthChargeArea = lastMonthChargeArea;
    }

    public String getThisMonthChargeArea() {
        return thisMonthChargeArea;
    }

    public void setThisMonthChargeArea(String thisMonthChargeArea) {
        this.thisMonthChargeArea = thisMonthChargeArea;
    }

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

    /**
     * 获取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 == null ? null : memo.trim();
    }

    /**
     * 获取创建时间
     *
     * @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 == null ? null : createBy.trim();
    }

    /**
     * 获取更新时间
     *
     * @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 == null ? null : modifiedBy.trim();
    }

    /**
     * 获取NC系统账号
     *
     * @return nc_system_name - NC系统账号
     */
    public String getNcSystemName() {
        return ncSystemName;
    }

    /**
     * 设置NC系统账号
     *
     * @param ncSystemName NC系统账号
     */
    public void setNcSystemName(String ncSystemName) {
        this.ncSystemName = ncSystemName == null ? null : ncSystemName.trim();
    }

    /**
     * 获取NC系统编号
     *
     * @return nc_system_code - NC系统编号
     */
    public String getNcSystemCode() {
        return ncSystemCode;
    }

    /**
     * 设置NC系统编号
     *
     * @param ncSystemCode NC系统编号
     */
    public void setNcSystemCode(String ncSystemCode) {
        this.ncSystemCode = ncSystemCode == null ? null : ncSystemCode.trim();
    }

    /**
     * 获取非标收费
     *
     * @return additional_charge - 非标收费
     */
    public Boolean getAdditionalCharge() {
        return additionalCharge;
    }

    /**
     * 设置非标收费
     *
     * @param additionalCharge 非标收费
     */
    public void setAdditionalCharge(Boolean additionalCharge) {
        this.additionalCharge = additionalCharge;
    }

    /**
     * 获取是否新增收费
     *
     * @return increase_charge - 是否新增收费
     */
    public Boolean getIncreaseCharge() {
        return increaseCharge;
    }

    /**
     * 设置是否新增收费
     *
     * @param increaseCharge 是否新增收费
     */
    public void setIncreaseCharge(Boolean increaseCharge) {
        this.increaseCharge = increaseCharge;
    }

    /**
     * @return start_date
     */
    public Date getStartDate() {
        return startDate;
    }

    /**
     * @param startDate
     */
    public void setStartDate(Date startDate) {
        this.startDate = startDate;
    }

    /**
     * @return end_date
     */
    public Date getEndDate() {
        return endDate;
    }

    /**
     * @param endDate
     */
    public void setEndDate(Date endDate) {
        this.endDate = endDate;
    }
}