package com.seer.teach.user.admin.request;

import io.swagger.v3.oas.annotations.media.Schema;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import jakarta.validation.constraints.NotEmpty;
import jakarta.validation.constraints.NotNull;
import java.util.List;

/**
 * @Author: 嘉多宝宝
 * @Data: 2025-07-02 13:50
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
@Schema(description = "角色权限请求实体类")
public class RoleAuthorityReq {

    @Schema(description = "角色ID")
    @NotNull(message = "角色ID不能为空")
    private Integer roleId;

    @Schema(description = "权限ID")
    @NotEmpty(message = "权限ID列表不能为空")
    private List<Integer> authorityIds;
}
