Table of Contents

Class NewsCreationRequestDto

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

Request DTO for the creation of a new GastroSky.Models.DTO.News article.

public sealed class NewsCreationRequestDto
Inheritance
NewsCreationRequestDto
Inherited Members

Properties

AuthorName

Author name (ideally, this is first name + last name (whitespace-separated).

public string? AuthorName { get; set; }

Property Value

string

CustomSlug

Custom slug string for the GastroSky.Models.DTO.News.

public string? CustomSlug { 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