using System; using System.Collections.Generic; using Abp.Application.Services.Dto; using Abp.AutoMapper; using AutoMapper; using WeOnlineApp.Authorization.Roles; namespace WeOnlineApp.BaseSystem.Roles.Dto { [AutoMapTo(typeof(Role)), AutoMapFrom(typeof(Role))] public class RoleDto : EntityDto { public string Name { get; set; } public int RoleType { get; set; } public int AccountType { get; set; } public string Description { get; set; } public string DisplayName { get; set; } public bool IsStatic { get; set; } public DateTime? LastModificationTime { get; set; } public long? LastModifierUserId { get; set; } [IgnoreMap] public List Permissions { get; set; } public string LastModifierUserName { get; set; } } }