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

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

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

/**
 * @Author 吴凯程
 * @Date 2024/12/27
 **/
@Data
@Valid
public class UnbindUserDTO {


    @Valid
    @ApiModelProperty(value = "图形主键", name = "shapeId")
    @NotNull(message = "图形主键不能为空")
    private Long shapeId;

    @Valid
    @ApiModelProperty(value = "图层主键", name = "layerId")
    @NotNull(message = "图层主键不能为空")
    private Long layerId;

    @Valid
    @ApiModelProperty(value = "网格主键", name = "gridId")
    @NotNull(message = "网格主键不能为空")
    private Long gridId;

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

    @Valid
    @ApiModelProperty(value = "客户类型", name = "custId")
    @NotNull(message = "客户类型不能为空")
    private String custType;

    /**
     * 客户经理姓名
     */
    @Valid
    @ApiModelProperty(value = "客户经理柜员号", notes = "")
    @NotNull(message = "客户经理柜员号不能为空")
    private String userName;

    /**
     * 客户经理机构号
     */
    @Valid
    @ApiModelProperty(value = "客户经理机构号", notes = "")
    @NotNull(message = "客户经理机构号不能为空")
    private Long relateDeptId;

}
