PermissionDto.cs 549 B

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