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

import lombok.Data;

import javax.validation.Valid;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import java.util.List;

/**
 * @Author 吴凯程
 * @Date 2024/10/21
 **/
@Data
public class DeptUserSearchDTO {

    @Valid
    @NotNull(message = "机构列表不能为空")
    @Size(min = 1, message = "机构列表不能为空")
    private List<Long> deptIds;
}
