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
CountryCodeISO
3-letter ISO country code.
[StringLength(3)]
public string? CountryCodeISO { get; set; }
Property Value
The email address of who should be notified about the underlying GastroSky.Models.DTO.Post.
[Required]
[EmailAddress]
public string Email { get; set; }
Property Value
Language
Notifications language.
public Language Language { get; set; }
Property Value
- See Also
Location
Address location (e.g. city name).
public string? Location { get; set; }
Property Value
Message
The message attached to the created GastroSky.Models.DTO.UserPostInteraction.
[StringLength(4096)]
public string? Message { get; set; }
Property Value
Name
The name of who should be notified about the underlying GastroSky.Models.DTO.Post.
[Required]
public string Name { get; set; }
Property Value
Notes
GastroSky.Models.DTO.UserPostInteraction notes written by the GastroSky.Models.DTO.Post author.
public string? Notes { get; set; }
Property Value
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
Phone
Phone number of who is interested in the underlying GastroSky.Models.DTO.Post.
[Phone]
public string? Phone { get; set; }
Property Value
PostSlug
Post.Slug
[Required]
public string PostSlug { get; set; }
Property Value
Totp
Verification token sent via email.
public string? Totp { get; set; }
Property Value
ZipCode
ZIP-code.
public string? ZipCode { get; set; }