using System.ComponentModel.DataAnnotations; namespace YD_Event.Application.Role.Dtos; /// /// 授权角色权限输入 /// public class GrantRolePermissionInput { /// /// 角色ID /// [Required(ErrorMessage = "角色ID不能为空")] public long Id { get; set; } /// /// 菜单ID集合 /// [Required(ErrorMessage = "请选择权限")] public List MenuIds { get; set; } }