Class CreateTenantBranchCommand
- Namespace
- KadicAuth.Application.TenantBranches.Commands
- Assembly
- KadicAuth.Application.dll
public sealed record CreateTenantBranchCommand : IRequest<Result<Guid>>, IBaseRequest
- Inheritance
-
object
CreateTenantBranchCommand
- Implements
-
IRequest<Result<Guid>>
IBaseRequest
Constructors
CreateTenantBranchCommand(Guid, string, string?, string?, string?, bool)
public CreateTenantBranchCommand(Guid TenantId, string Name, string? Slug, string? Address, string? Phone, bool IsDefault)
Parameters
TenantId Guid
Name string
Slug string
Address string
Phone string
IsDefault bool
Properties
Address
public string? Address { get; init; }
Property Value
- string
IsDefault
public bool IsDefault { get; init; }
Property Value
- bool
Name
public string Name { get; init; }
Property Value
- string
Phone
public string? Phone { get; init; }
Property Value
- string
Slug
public string? Slug { get; init; }
Property Value
- string
TenantId
public Guid TenantId { get; init; }
Property Value
- Guid