package com.ruoyi.group.domain.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 客群客户VO
 *
 * @author ruoyi
 */
@Data
public class CustGroupMemberVO {

    /**
     * 主键ID
     */
    @ApiModelProperty(value = "主键ID", name = "id")
    private Long id;

    /**
     * 客群ID
     */
    @ApiModelProperty(value = "客群ID", name = "groupId")
    private Long groupId;

    /**
     * 客户类型：0=个人, 1=商户, 2=企业
     */
    @ApiModelProperty(value = "客户类型：0=个人, 1=商户, 2=企业", name = "custType")
    private String custType;

    /**
     * 客户号
     */
    @ApiModelProperty(value = "客户号", name = "custId")
    private String custId;

    /**
     * 客户姓名
     */
    @ApiModelProperty(value = "客户姓名", name = "custName")
    private String custName;

    /**
     * 客户身份证号
     */
    @ApiModelProperty(value = "客户身份证号", name = "custIdc")
    private String custIdc;

    /**
     * 统信码（商户/企业有）
     */
    @ApiModelProperty(value = "统信码（商户/企业有）", name = "socialCreditCode")
    private String socialCreditCode;

    /**
     * 客户经理柜员号
     */
    @ApiModelProperty(value = "客户经理柜员号", name = "userName")
    private String userName;

    /**
     * 客户经理姓名
     */
    @ApiModelProperty(value = "客户经理姓名", name = "nickName")
    private String nickName;

    /**
     * 网点ID
     */
    @ApiModelProperty(value = "网点ID", name = "outletId")
    private Long outletId;

    /**
     * 网点名称
     */
    @ApiModelProperty(value = "网点名称", name = "outletName")
    private String outletName;

    /**
     * 支行ID
     */
    @ApiModelProperty(value = "支行ID", name = "branchId")
    private Long branchId;

    /**
     * 支行名称
     */
    @ApiModelProperty(value = "支行名称", name = "branchName")
    private String branchName;

    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建时间", name = "createTime")
    private Date createTime;

    /**
     * 存量状态：true=存量客户（系统存在），false=非存量客户（系统不存在）
     */
    @ApiModelProperty(value = "存量状态：true=存量客户，false=非存量客户", name = "isExisting")
    private Boolean isExisting;
}