package com.pj.project.re_role_menu.dto;

import lombok.Data;

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

/**
 * @Author Mechrevo
 * @Date 2023 07 25 17 11
 **/
@Data
public class AssignPermissionsDto {

    @NotNull(message = "职务ID")
    private Long roleId;
    @NotNull(message = "集合可以没有值,但不能为null")
    private List<Long> list;

}
