Class UserDto
- Namespace
- KadicAuth.Application.Users.DTOs
- Assembly
- KadicAuth.Application.dll
public sealed record UserDto
- Inheritance
-
object
UserDto
Constructors
UserDto(Guid, Guid?, string?, string, string, string?, string?, bool, DateTime, DateTime?, IEnumerable<UserBranchDto>)
public UserDto(Guid Id, Guid? TenantId, string? TenantName, string Email, string Username, string? FirstName, string? LastName, bool IsActive, DateTime CreatedAt, DateTime? LastLoginAt, IEnumerable<UserBranchDto> Branches)
Parameters
Id Guid
TenantId Guid?
TenantName string
Email string
Username string
FirstName string
LastName string
IsActive bool
CreatedAt DateTime
LastLoginAt DateTime?
Branches IEnumerable<UserBranchDto>
Properties
Branches
public IEnumerable<UserBranchDto> Branches { get; init; }
Property Value
- IEnumerable<UserBranchDto>
CreatedAt
public DateTime CreatedAt { get; init; }
Property Value
- DateTime
Email
public string Email { get; init; }
Property Value
- string
FirstName
public string? FirstName { get; init; }
Property Value
- string
Id
public Guid Id { get; init; }
Property Value
- Guid
IsActive
public bool IsActive { get; init; }
Property Value
- bool
LastLoginAt
public DateTime? LastLoginAt { get; init; }
Property Value
- DateTime?
LastName
public string? LastName { get; init; }
Property Value
- string
TenantId
public Guid? TenantId { get; init; }
Property Value
- Guid?
TenantName
public string? TenantName { get; init; }
Property Value
- string
Username
public string Username { get; init; }
Property Value
- string