using NPin.Framework.Upms.Domain.Shared.Enums; namespace NPin.Framework.Upms.Domain.Shared.Dtos; public class RoleFullDto { public RoleDto Role { get; set; } = new(); // Relations public HashSet OrganizationList { get; set; } = []; } public class RoleDto { public Guid Id { get; set; } public string Code { get; set; } = string.Empty; public string Name { get; set; } = string.Empty; public DataScopeEnum DataScope { get; set; } = DataScopeEnum.All; public string? Remark { get; set; } public bool IsDeleted { get; } public DateTime CreationTime { get; } = DateTime.Now; public Guid? CreatorId { get; } public DateTime? LastModificationTime { get; } public Guid? LastModifierId { get; } public int OrderNum { get; set; } public bool IsEnabled { get; set; } }