package com.ruoyi.dk.dto.admin.resp;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.ruoyi.component.excel.annotation.ExcelEnumFormat;
import com.ruoyi.component.excel.convert.ExcelEnumConvert;
import com.ruoyi.dk.enums.KinsfolkRefEnum;
import com.ruoyi.dk.enums.YesOrNoEnum;
import lombok.Data;

@Data
@ExcelIgnoreUnannotated
public class CustomerExportVo {

    @ExcelProperty(value = "登陆手机号")
    private String phoneNumber;

    /**
     * 用户名称
     */
    @ExcelProperty(value = "登陆手机号")
    private String nickName;

    /**
     * 是否实名
     */
    @ExcelProperty(value = "是否实名",converter = ExcelEnumConvert.class)
    @ExcelEnumFormat(enumClass = YesOrNoEnum.class)
    private Integer realNameAuth;

    /**
     * 是否贷款
     */
    @ExcelProperty(value = "是否贷款",converter = ExcelEnumConvert.class)
    @ExcelEnumFormat(enumClass = YesOrNoEnum.class)
    private Integer loansFlag;

    /**
     * 是否提现
     */
    @ExcelProperty(value = "是否提现",converter = ExcelEnumConvert.class)
    @ExcelEnumFormat(enumClass = YesOrNoEnum.class)
    private Integer withdrawFlag;

    @ExcelProperty(value = "真实姓名")
    private String realName;

    @ExcelProperty(value = "身份证号码")
    private String cardNum;

    /**
     * 单位名称
     */
    @ExcelProperty(value = "单位名称")
    private String companyName;

    /**
     * 职位
     */
    @ExcelProperty(value = "职位")
    private String companyTitle;

    /**
     * 单位电话
     */
    @ExcelProperty(value = "单位电话")
    private String companyPhone;

    /**
     * 工作年龄
     */
    @ExcelProperty(value = "工作年龄")
    private String companyYear;

    /**
     * 单位地址
     */
    @ExcelProperty(value = "单位地址")
    private String companyAddress;

    /**
     * 详细地址
     */
    @ExcelProperty(value = "详细地址")
    private String companyAddressInfo;

    /**
     * 现居住地址
     */
    @ExcelProperty(value = "现居住地址")
    private String customerAddress;

    /**
     * 详细地址
     */
    @ExcelProperty(value = "详细地址")
    private String customerAddressInfo;

    @ExcelProperty(value = "亲属关系",converter = ExcelEnumConvert.class)
    @ExcelEnumFormat(enumClass = KinsfolkRefEnum.class)
    private String kinsfolkRef;
    /**
     * 亲属姓名
     */
    @ExcelProperty(value = "亲属姓名")
    private String kinsfolkName;

    /**
     * 亲属电话
     */
    @ExcelProperty(value = "亲属电话")
    private String kinsfolkPhone;


    /**
     * 开户银行
     */
    @ExcelProperty(value = "开户银行")
    private String bankType;

    /**
     * 银行卡号
     */
    @ExcelProperty(value = "银行卡号")
    private String backCardNum;
}
