Table of Contents

Class UserPostInteractionCreationRequestDto

Namespace
GastroSky.Models.DTO.UserPostInteraction
Assembly
GastroSky.Models.dll

Request DTO for the creation of a GastroSky.Models.DTO.UserPostInteraction.

public sealed class UserPostInteractionCreationRequestDto
Inheritance
UserPostInteractionCreationRequestDto
Inherited Members

Properties

Address

Address (street name + house number).

public string? Address { get; set; }

Property Value

string

CountryCodeISO

3-letter ISO country code.

[StringLength(3)]
public string? CountryCodeISO { get; set; }

Property Value

string

Email

The email address of who should be notified about the underlying GastroSky.Models.DTO.Post.

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

Property Value

string

Language

Notifications language.

public Language Language { get; set; }

Property Value

Language
See Also

Location

Address location (e.g. city name).

public string? Location { get; set; }

Property Value

string

Message

The message attached to the created GastroSky.Models.DTO.UserPostInteraction.

[StringLength(4096)]
public string? Message { get; set; }

Property Value

string

Name

The name of who should be notified about the underlying GastroSky.Models.DTO.Post.

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

Property Value

string

Notes

public string? Notes { get; set; }

Property Value

string

Remarks

Only let manual creators of post interactions fill in this DTO field in the frontend!

NotificationsEnabled

Should email notifications be enabled?

public bool NotificationsEnabled { get; set; }

Property Value

bool

Phone

Phone number of who is interested in the underlying GastroSky.Models.DTO.Post.

[Phone]
public string? Phone { get; set; }

Property Value

string

PostSlug

Post.Slug

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

Property Value

string

Totp

Verification token sent via email.

public string? Totp { get; set; }

Property Value

string

ZipCode

ZIP-code.

public string? ZipCode { get; set; }

Property Value

string