RoleDto.cs 826 B

1234567891011121314151617181920212223242526
  1. using System;
  2. using System.Collections.Generic;
  3. using Abp.Application.Services.Dto;
  4. using Abp.AutoMapper;
  5. using AutoMapper;
  6. using WeApp.Authorization.Roles;
  7. namespace WeApp.BaseSystem.Roles.Dto
  8. {
  9. [AutoMapTo(typeof(Role)), AutoMapFrom(typeof(Role))]
  10. public class RoleDto : EntityDto<int>
  11. {
  12. public string Name { get; set; }
  13. public int RoleType { get; set; }
  14. public int AccountType { get; set; }
  15. public string Description { get; set; }
  16. public string DisplayName { get; set; }
  17. public bool IsStatic { get; set; }
  18. public DateTime? LastModificationTime { get; set; }
  19. public long? LastModifierUserId { get; set; }
  20. [IgnoreMap]
  21. public List<string> Permissions { get; set; }
  22. public string LastModifierUserName { get; set; }
  23. }
  24. }