package com.sifang.modules.customer.entity;

import org.hibernate.annotations.GenericGenerator;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;

@Entity
@Table(name = "crm_customer_entry_rent_management")
public class CrmCustomerEntryRentManagement {
    private String id;
    private String  powerStationCode;//电站编码
    private String  contractNumber;//合同编号
    private String  tenantName;//业主姓名
    private Date  mergeTime;//并网日期
    private String  rentPlan;//租金方案
    private String  componentNum;//组件块数
    private String  period;//期数
    private Date  dueTime;//应付日期
    private String  dueMoney;//应付金额（元）
    private Date paidTime;//已付日期
    private String  cfId;//现金流唯一标识(接口返回的)
    @Id
    @GeneratedValue(generator = "idGenerator")
    @GenericGenerator(name = "idGenerator", strategy = "uuid")
    public String getId() {
        return id;
    }
    public void setId(String id) {
        this.id = id;
    }

    public String getPowerStationCode() {
        return powerStationCode;
    }

    public void setPowerStationCode(String powerStationCode) {
        this.powerStationCode = powerStationCode;
    }

    public String getContractNumber() {
        return contractNumber;
    }

    public void setContractNumber(String contractNumber) {
        this.contractNumber = contractNumber;
    }

    public String getTenantName() {
        return tenantName;
    }

    public void setTenantName(String tenantName) {
        this.tenantName = tenantName;
    }

    public Date getMergeTime() {
        return mergeTime;
    }

    public void setMergeTime(Date mergeTime) {
        this.mergeTime = mergeTime;
    }

    public String getRentPlan() {
        return rentPlan;
    }

    public void setRentPlan(String rentPlan) {
        this.rentPlan = rentPlan;
    }

    public String getComponentNum() {
        return componentNum;
    }

    public void setComponentNum(String componentNum) {
        this.componentNum = componentNum;
    }

    public String getPeriod() {
        return period;
    }

    public void setPeriod(String period) {
        this.period = period;
    }

    public Date getDueTime() {
        return dueTime;
    }

    public void setDueTime(Date dueTime) {
        this.dueTime = dueTime;
    }

    public String getDueMoney() {
        return dueMoney;
    }

    public void setDueMoney(String dueMoney) {
        this.dueMoney = dueMoney;
    }

    public Date getPaidTime() {
        return paidTime;
    }

    public void setPaidTime(Date paidTime) {
        this.paidTime = paidTime;
    }

    public String getCfId() {
        return cfId;
    }

    public void setCfId(String cfId) {
        this.cfId = cfId;
    }
}
