Class PostCreationRequestDto
Request DTO for the creation of a new GastroSky.Models.DTO.Post.
public sealed class PostCreationRequestDto
- Inheritance
-
PostCreationRequestDto
- Inherited Members
Properties
AuthorUserSlug
User.Slug of who is responsible for this GastroSky.Models.DTO.Post.
[Required]
public string AuthorUserSlug { get; set; }
Property Value
Category
The post category.
[Required]
public PostCategory Category { get; set; }
Property Value
- See Also
CompanySlug
public string? CompanySlug { get; set; }
Property Value
ItemTypes
The ItemTypes that apply to this GastroSky.Models.DTO.Post.
[Required]
public ItemType[] ItemTypes { get; set; }
Property Value
- ItemType[]
Subtitle
Translations payload in JSON format for theGastroSky.Models.DTO.Post's subtitle.
public TranslatableFieldDto Subtitle { get; set; }
Property Value
Title
Translations payload in JSON format for theGastroSky.Models.DTO.Post's title.
[Required]
public TranslatableFieldDto Title { get; set; }