PermissionDto.cs 632 B

123456789101112131415161718192021222324
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. using Abp.Application.Services.Dto;
  7. using Abp.Authorization;
  8. using Abp.AutoMapper;
  9. namespace ShwasherSys.BaseSysInfo.Roles.Dto
  10. {
  11. [AutoMapFrom(typeof(Permission))]
  12. public class PermissionDto : EntityDto<long>
  13. {
  14. public PermissionDto Parent { get; set; }
  15. public string Name { get; set; }
  16. public string PermDisplayName { get; set; }
  17. public int Sort { get; set; }
  18. public bool IsAuth { get; set; }
  19. public List<PermissionDto> Children { get; set; }
  20. }
  21. }