package com.loan.system.domain.dto;

import com.loan.system.domain.entity.Collateral;
import com.loan.system.domain.entity.Contract;
import com.loan.system.domain.entity.CustomersOther;
import com.loan.system.domain.entity.Document;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;
import java.util.Map;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class LoanCaseDTO implements Serializable {
    private Long customerId;//客户id
    //private Long caseId;//业务id
    private String businessAttrs;//业务属性
    private List<ContractDTO> contracts;//合同
    //private String address;//房产实际地点
    private List<Map<String,List<Integer>> > collateralAndContract;
    private List<CollateralDTO> collateral;//押品
    private String channelName;//渠道名称
    private String group;//组别
    private Long recommenderId;//推荐人id
    private String businessType;//业务类型
    private CustomersOtherDTO customers1;//其它客户1
    private CustomersOtherDTO customers2;//其它客户2
    private BigDecimal totalLoanAmount;//总借款金额
//    private List<DocumentDTO> documents;// 文件
    private String marriedStatus;//婚姻状况
    private String currentAddress;// 房产产证地址
    private Boolean isInvolvedInLitigation;//是否涉及诉讼
}
