Class TenantDto
- Namespace
- KadicAuth.Application.Tenants.DTOs
- Assembly
- KadicAuth.Application.dll
public sealed record TenantDto
- Inheritance
-
object
TenantDto
Constructors
TenantDto(Guid, string, string, string, string, Guid?, string?, bool, DateTime, DateTime?, string?, string?, IEnumerable<TenantBranchDto>, IEnumerable<TenantModuleWithSubModulesDto>)
public TenantDto(Guid Id, string Name, string Slug, string Domain, string Region, Guid? PlanId, string? PlanName, bool IsActive, DateTime CreatedAt, DateTime? UpdatedAt, string? Description, string? ImageUrl, IEnumerable<TenantBranchDto> Branches, IEnumerable<TenantModuleWithSubModulesDto> Modules)
Parameters
Id Guid
Name string
Slug string
Domain string
Region string
PlanId Guid?
PlanName string
IsActive bool
CreatedAt DateTime
UpdatedAt DateTime?
Description string
ImageUrl string
Branches IEnumerable<TenantBranchDto>
Modules IEnumerable<TenantModuleWithSubModulesDto>
Properties
Branches
public IEnumerable<TenantBranchDto> Branches { get; init; }
Property Value
- IEnumerable<TenantBranchDto>
CreatedAt
public DateTime CreatedAt { get; init; }
Property Value
- DateTime
Description
public string? Description { get; init; }
Property Value
- string
Domain
public string Domain { get; init; }
Property Value
- string
Id
public Guid Id { get; init; }
Property Value
- Guid
ImageUrl
public string? ImageUrl { get; init; }
Property Value
- string
IsActive
public bool IsActive { get; init; }
Property Value
- bool
Modules
public IEnumerable<TenantModuleWithSubModulesDto> Modules { get; init; }
Property Value
- IEnumerable<TenantModuleWithSubModulesDto>
Name
public string Name { get; init; }
Property Value
- string
PlanId
public Guid? PlanId { get; init; }
Property Value
- Guid?
PlanName
public string? PlanName { get; init; }
Property Value
- string
Region
public string Region { get; init; }
Property Value
- string
Slug
public string Slug { get; init; }
Property Value
- string
UpdatedAt
public DateTime? UpdatedAt { get; init; }
Property Value
- DateTime?