PermissionDto.cs 533 B

12345678910111213141516171819
  1. using Abp.Application.Services.Dto;
  2. using Abp.AutoMapper;
  3. using Abp.Authorization;
  4. namespace VberZero.AppService.Roles.Dto;
  5. [AutoMapFrom(typeof(Permission))]
  6. public class PermissionDto : EntityDto<long>
  7. {
  8. public string Name { get; set; }
  9. public string DisplayName { get; set; }
  10. public int Sort { get; set; }
  11. public string Icon { get; set; }
  12. public bool IsOpen { get; set; }
  13. public bool IsAuth { get; set; }
  14. public string Description { get; set; }
  15. public List<PermissionDto> Children { get; set; }
  16. }