package com.ruoyi.ibs.grid.domain.dto.virtual;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.Valid;
import javax.validation.constraints.NotNull;

/**
 * @Author 吴凯程
 * @Date 2024/9/20
 **/
@Data
public class VirtualCustDTO {

    @Valid
    @ApiModelProperty(value = "客户类型", name = "custType", notes = "个人 企业 商户")
    @NotNull(message = "客户类型不能为空")
    private String custType;

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

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

    @ApiModelProperty(value = "客户内码", name = "custIsn")
    private String custIsn;

    @ApiModelProperty(value = "客户证件类型", name = "custIdType")
    private String custIdType;

    @Valid
    @ApiModelProperty(value = "客户证件号", name = "custIdn")
    @NotNull(message = "客户证件号不能为空")
    private String custIdn;

    @ApiModelProperty(value = "电话号码", name = "phoneNum")
    private String phoneNum;

    @Valid
    @ApiModelProperty(value = "操作表示", notes = "0新增 1删除")
    @NotNull(message = "操作表示不能为空")
    private String optFlag;

}
