Class RoleDto
- Namespace
- KadicAuth.Application.Roles.DTOs
- Assembly
- KadicAuth.Application.dll
public sealed record RoleDto
- Inheritance
-
object
RoleDto
Constructors
RoleDto(Guid, Guid, string, string, string?, bool, DateTime, IEnumerable<string>)
public RoleDto(Guid Id, Guid TenantId, string Code, string Name, string? Description, bool IsActive, DateTime CreatedAt, IEnumerable<string> Permissions)
Parameters
Id Guid
TenantId Guid
Code string
Name string
Description string
IsActive bool
CreatedAt DateTime
Permissions IEnumerable<string>
Properties
Code
public string Code { get; init; }
Property Value
- string
CreatedAt
public DateTime CreatedAt { get; init; }
Property Value
- DateTime
Description
public string? Description { get; init; }
Property Value
- string
Id
public Guid Id { get; init; }
Property Value
- Guid
IsActive
public bool IsActive { get; init; }
Property Value
- bool
Name
public string Name { get; init; }
Property Value
- string
Permissions
public IEnumerable<string> Permissions { get; init; }
Property Value
- IEnumerable<string>
TenantId
public Guid TenantId { get; init; }
Property Value
- Guid