Class NewsModificationRequestDto
Request DTO for the modification of a GastroSky.Models.DTO.News article.
public sealed class NewsModificationRequestDto
- Inheritance
-
NewsModificationRequestDto
- Inherited Members
Properties
AuthorName
Author name (ideally, this is first name + last name (whitespace-separated).
public string? AuthorName { get; set; }
Property Value
Markdown
Translations payload for the news article's main body (in markdown format).
public TranslatableFieldDto Markdown { get; set; }
Property Value
NewsPictureBytesBase64
The news picture as a base64-encoded string.
public string? NewsPictureBytesBase64 { get; set; }
Property Value
Slug
News article slug string.
[Required]
public string Slug { get; set; }
Property Value
Subtitle
Translations payload for the news article's subtitle.
public TranslatableFieldDto Subtitle { get; set; }
Property Value
Title
Translations payload for the various title variants.
public TranslatableFieldDto Title { get; set; }