Class UpdatePlanCommand
- Namespace
- KadicAuth.Application.Plans.Commands
- Assembly
- KadicAuth.Application.dll
public sealed record UpdatePlanCommand : IRequest<Result>, IBaseRequest
- Inheritance
-
object
UpdatePlanCommand
- Implements
-
IRequest<Result>
IBaseRequest
Constructors
UpdatePlanCommand(string, string, decimal, int, string?, bool)
public UpdatePlanCommand(string Code, string Name, decimal Price, int DurationInDays, string? Description = null, bool IsActive = true)
Parameters
Code string
Name string
Price decimal
DurationInDays int
Description string
IsActive bool
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
Id
[JsonIgnore]
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
Price
public decimal Price { get; init; }
Property Value
- decimal