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.io.Serializable;
import java.math.BigDecimal;

/**
 * 进件申请-保险信息
 */
@Entity
@Table(name = "crm_customer_incoming_application_insurance")
public class CrmCustomerIncomingApplicationInsurance implements Serializable {
    private String id;
    private String entryId;//电站id
    private String insuranceName;//保险名称
    private String insuranceType;//保险类型:1 - 财产险 2 - 商业险 3 - 交强险 4 - 其他
    private String insuranceDateFrom;//保险日期从,格式为：yyyyMMdd
    private String insuranceDateTo;//保险日期到,格式为：yyyyMMdd
    private String insuranceCompany;//保险公司
    private String insuranceNumber;//保险编号
    private BigDecimal insuranceAmount;//投保金额
    private String firstBeneficiary;//第一受益人-广州越秀融资租赁有限公司及其项目公司
    private String bwFile;//并网资料
    private String insurancePolicy;//保险单
    private String insurancePolicyName;//保险单
    private String bwtsFile;//并网调试报告
    private String bwtsFilename;//并网调试报告
    private String filingCardFile; //备案证
    private String insuranceId; //电站保单表id

    public String getFilingCardFile() {
        return filingCardFile;
    }

    public void setFilingCardFile(String filingCardFile) {
        this.filingCardFile = filingCardFile;
    }

    @Id
    @GeneratedValue(generator = "idGenerator")
    @GenericGenerator(name = "idGenerator", strategy = "uuid")
    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getEntryId() {
        return entryId;
    }

    public void setEntryId(String entryId) {
        this.entryId = entryId;
    }

    public String getInsuranceType() {
        return insuranceType;
    }

    public void setInsuranceType(String insuranceType) {
        this.insuranceType = insuranceType;
    }

    public String getInsuranceDateFrom() {
        return insuranceDateFrom;
    }

    public void setInsuranceDateFrom(String insuranceDateFrom) {
        this.insuranceDateFrom = insuranceDateFrom;
    }

    public String getInsuranceDateTo() {
        return insuranceDateTo;
    }

    public void setInsuranceDateTo(String insuranceDateTo) {
        this.insuranceDateTo = insuranceDateTo;
    }

    public String getInsuranceName() {
        return insuranceName;
    }

    public void setInsuranceName(String insuranceName) {
        this.insuranceName = insuranceName;
    }

    public String getInsuranceCompany() {
        return insuranceCompany;
    }

    public void setInsuranceCompany(String insuranceCompany) {
        this.insuranceCompany = insuranceCompany;
    }

    public String getInsuranceNumber() {
        return insuranceNumber;
    }

    public void setInsuranceNumber(String insuranceNumber) {
        this.insuranceNumber = insuranceNumber;
    }

    public BigDecimal getInsuranceAmount() {
        return insuranceAmount;
    }

    public void setInsuranceAmount(BigDecimal insuranceAmount) {
        this.insuranceAmount = insuranceAmount;
    }

    public String getFirstBeneficiary() {
        return firstBeneficiary;
    }

    public void setFirstBeneficiary(String firstBeneficiary) {
        this.firstBeneficiary = firstBeneficiary;
    }

    public String getBwFile() {
        return bwFile;
    }

    public void setBwFile(String bwFile) {
        this.bwFile = bwFile;
    }

    public String getInsurancePolicy() {
        return insurancePolicy;
    }

    public void setInsurancePolicy(String insurancePolicy) {
        this.insurancePolicy = insurancePolicy;
    }

    public String getBwtsFile() {
        return bwtsFile;
    }

    public void setBwtsFile(String bwtsFile) {
        this.bwtsFile = bwtsFile;
    }

    public String getInsurancePolicyName() {
        return insurancePolicyName;
    }

    public void setInsurancePolicyName(String insurancePolicyName) {
        this.insurancePolicyName = insurancePolicyName;
    }

    public String getBwtsFilename() {
        return bwtsFilename;
    }

    public void setBwtsFilename(String bwtsFilename) {
        this.bwtsFilename = bwtsFilename;
    }

    public void setInsuranceId(String insuranceId) {
        this.insuranceId = insuranceId;
    }

    public String getInsuranceId() {
        return insuranceId;
    }
}