Table of Contents

Class CreatePlanCommand

Namespace
KadicAuth.Application.Plans.Commands
Assembly
KadicAuth.Application.dll
public sealed record CreatePlanCommand : IRequest<Result<Guid>>, IBaseRequest
Inheritance
object
CreatePlanCommand
Implements
IRequest<Result<Guid>>
IBaseRequest

Constructors

CreatePlanCommand(string, string, decimal, int, string?)

public CreatePlanCommand(string Code, string Name, decimal Price, int DurationInDays, string? Description = null)

Parameters

Code string
Name string
Price decimal
DurationInDays int
Description string

Properties

Code

public string Code { get; init; }

Property Value

string

Description

public string? Description { get; init; }

Property Value

string

DurationInDays

public int DurationInDays { get; init; }

Property Value

int

Name

public string Name { get; init; }

Property Value

string

Price

public decimal Price { get; init; }

Property Value

decimal