Files
Yi.Admin/Yi.Framework.Net6/Yi.Framework.DTOModel/Base/Dto/UserRoleMenuDto.cs

20 lines
560 B
C#
Raw Normal View History

2022-04-30 21:48:18 +08:00
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
2023-01-01 23:06:11 +08:00
using Yi.Framework.Model.RABC.Entitys;
2022-04-30 21:48:18 +08:00
2023-01-02 14:29:16 +08:00
namespace Yi.Framework.DtoModel.Base.Dto
2022-04-30 21:48:18 +08:00
{
public class UserRoleMenuDto
{
2023-01-01 23:51:05 +08:00
public UserEntity User { get; set; } = new();
2022-04-30 21:48:18 +08:00
public HashSet<RoleEntity> Roles { get; set; } = new();
2023-01-01 23:51:05 +08:00
public HashSet<MenuEntity> Menus { get; set; } = new();
2022-04-30 21:48:18 +08:00
2023-01-01 23:51:05 +08:00
public List<string> RoleCodes { get; set; } = new();
public List<string> PermissionCodes { get; set; } = new();
2022-04-30 21:48:18 +08:00
}
}