Table of Contents

Class NewsModificationRequestDto

Namespace
GastroSky.Models.DTO.News
Assembly
GastroSky.Models.dll

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

string

Markdown

Translations payload for the news article's main body (in markdown format).

public TranslatableFieldDto Markdown { get; set; }

Property Value

TranslatableFieldDto

NewsPictureBytesBase64

The news picture as a base64-encoded string.

public string? NewsPictureBytesBase64 { get; set; }

Property Value

string

Slug

News article slug string.

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

Property Value

string

Subtitle

Translations payload for the news article's subtitle.

public TranslatableFieldDto Subtitle { get; set; }

Property Value

TranslatableFieldDto

Title

Translations payload for the various title variants.

public TranslatableFieldDto Title { get; set; }

Property Value

TranslatableFieldDto