Table of Contents

Class InterestedUserCreationRequestDto

Namespace
GastroSky.Models.DTO.InterestedUser
Assembly
GastroSky.Models.dll

Creation body request of a GastroSky.Models.DTO.InterestedUser.

public sealed class InterestedUserCreationRequestDto
Inheritance
InterestedUserCreationRequestDto
Inherited Members

Properties

AcceptsPrivacyPolicy

User must accept privacy policy to be inserted in DB

[Required]
public bool AcceptsPrivacyPolicy { get; set; }

Property Value

bool

Email

[Required]
public string Email { get; set; }

Property Value

string

IsAProfessional

[Required]
public bool IsAProfessional { get; set; }

Property Value

bool

Language

public Language Language { get; set; }

Property Value

Language

LookingForGastroSolution

[Required]
public bool LookingForGastroSolution { get; set; }

Property Value

bool

Name

[Required]
public string? Name { get; set; }

Property Value

string

Phone

public string? Phone { get; set; }

Property Value

string

Totp

Valid TOTP for authorizing the request. The requesting GastroSky.Models.DTO.User should have received this via email.

[Required]
public string Totp { get; set; }

Property Value

string

WantsToPublish

[Required]
public bool WantsToPublish { get; set; }

Property Value

bool