using Model; namespace Dto { public class SysRoleDto : SysBase { public long roleId { get; set; } /// /// 要添加的菜单集合 /// public List menuIds { get; set; } = new List(); public string? roleName { get; set; } public string? roleCode { get; set; } public string? roleDesc { get; set; } public string? roleKey { get; set; } public int roleSort { get; set; } public int dataScope { get; set; } // public int[] deptIds { get; set; } public string? createBy { get; set; } /// /// 减少菜单集合 /// public List delMenuIds { get; set; } = new List(); public bool menuCheckStrictly { get; set; } public bool deptCheckStrictly { get; set; } } public class SysRoleSetDto { public long roleId { get; set; } public List menuIds { get; set; } = new List(); } }