Table of Contents

Class PlanDto

Namespace
KadicAuth.Application.Plans.DTOs
Assembly
KadicAuth.Application.dll
public sealed record PlanDto
Inheritance
object
PlanDto

Constructors

PlanDto(Guid, string, string, decimal, int, string?, bool, DateTime)

public PlanDto(Guid Id, string Code, string Name, decimal Price, int DurationInDays, string? Description, bool IsActive, DateTime CreatedAt)

Parameters

Id Guid
Code string
Name string
Price decimal
DurationInDays int
Description string
IsActive bool
CreatedAt DateTime

Properties

Code

public string Code { get; init; }

Property Value

string

CreatedAt

public DateTime CreatedAt { get; init; }

Property Value

DateTime

Description

public string? Description { get; init; }

Property Value

string

DurationInDays

public int DurationInDays { get; init; }

Property Value

int

Id

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