You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
|
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<OrganizationDto> 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; set; }
|
|
|
|
|
public DateTime CreationTime { get; } = DateTime.Now;
|
|
|
|
|
public Guid? CreatorId { get; set; }
|
|
|
|
|
public DateTime? LastModificationTime { get; set; }
|
|
|
|
|
public Guid? LastModifierId { get; set; }
|
|
|
|
|
public int OrderNum { get; set; }
|
|
|
|
|
public bool IsEnabled { get; set; }
|
|
|
|
|
}
|