package com.zksy.system.basicData.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.zksy.common.utils.file.ExcelExport;
import com.zksy.common.utils.file.ExcelImport;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
/**
 * 贷款台账对象 crm_loan_ledger
 *
 * @author sy
 * @date 2024-05-08
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("crm_loan_ledger")
@ApiModel(value = "贷款台账")
public class CrmLoanLedger extends Model<CrmLoanLedger> {

private static final long serialVersionUID=1L;

@ApiModelProperty(value = "主键")
    /** 主键 */
        @TableId(type = IdType.AUTO)
    private Long id;

@ApiModelProperty(value = "企业名称")
    /** 企业名称 */
                @ExcelImport(value = "企业名称")
                @ExcelExport(value = "企业名称")
    private String enterpriseName;

@ApiModelProperty(value = "统一社会信用代码")
    /** 统一社会信用代码 */
                @ExcelImport(value = "统一社会信用代码")
                @ExcelExport(value = "统一社会信用代码")
    private String unifiedSocialCreditCode;

@ApiModelProperty(value = "贷款金额（万元）")
    /** 贷款金额（万元） */
                @ExcelImport(value = "贷款金额（万元）")
                @ExcelExport(value = "贷款金额（万元）")
    private String loanAmount;

@ApiModelProperty(value = "借款日期")
    /** 借款日期 */
                @ExcelImport(value = "借款日期")
                @ExcelExport(value = "借款日期")
    private String borrowingDate;

@ApiModelProperty(value = "到期日期")
    /** 到期日期 */
                @ExcelImport(value = "到期日期")
                @ExcelExport(value = "到期日期")
    private String maturityDate;

@ApiModelProperty(value = "贷款利率")
    /** 贷款利率 */
                @ExcelImport(value = "贷款利率")
                @ExcelExport(value = "贷款利率")
    private String loanInterestRate;

@ApiModelProperty(value = "合作银行")
    /** 合作银行 */
                @ExcelImport(value = "合作银行")
                @ExcelExport(value = "合作银行")
    private String cooperativeBank;

@ApiModelProperty(value = "是否偿还")
    /** 是否偿还 */
                @ExcelImport(value = "是否偿还")
                @ExcelExport(value = "是否偿还")
    private String isRepaid;

@ApiModelProperty(value = "当前在贷余额（万元）")
    /** 当前在贷余额（万元） */
                @ExcelImport(value = "当前在贷余额（万元）")
                @ExcelExport(value = "当前在贷余额（万元）")
    private String currentLoanBalance;


        }
