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

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

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

/**
 * @Author 吴凯程
 * @Date 2025/1/2
 **/
@Data
@Valid
public class GridCustListDTO {

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

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

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

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

    @ApiModelProperty(value = "切换是否分配")
    private Boolean isUnrelate;

    private String userName;

    private Long deptId;

}
