package com.loan.system.domain.vo;

import com.loan.system.domain.dto.CollateralDTO;
import com.loan.system.domain.dto.ContractDTO;
import com.loan.system.domain.dto.DocumentDTO;
import com.loan.system.domain.entity.Customer;
import com.loan.system.domain.entity.CustomersOther;
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
@AllArgsConstructor
@NoArgsConstructor
public class LoanCaseVO implements Serializable {
    private Long id;
    private CustomerVO customer;
    //private Long caseId;
    private String businessAttrs;//业务属性
    private List<ContractVO> contracts;
    private String address;//房产实际地点
    private List<Map<Long,List<Long>>> collateralAndContract;
    private List<CollateralVO> collateral;//押品
    private String channelName;//渠道名称
    private String group;//组别
    private Long recommenderId;//推荐人id
    private String businessType;//业务类型
    private CustomersOtherVO customers1;//其它客户1
    private CustomersOtherVO customers2;//其它客户2
    private BigDecimal totalLoanAmount;//总借款金额
    private List<DocumentVO> documents;// 文件
    private String currentAddress;// 房产产证地址
    private Boolean isInvolvedInLitigation;//是否涉及诉讼
    private Boolean isDelete;
}
