Class CreateBlogPostDto
Inheritance
CreateBlogPostDto
Assembly: Volo.CmsKit.Admin.Application.Contracts.dll
Syntax
public class CreateBlogPostDto : ExtensibleObject, IHasExtraProperties, IValidatableObject
Constructors
CreateBlogPostDto()
Declaration
public CreateBlogPostDto()
Properties
BlogId
Declaration
[Required]
public Guid BlogId { get; set; }
Property Value
Content
Declaration
[DynamicMaxLength(typeof(BlogPostConsts), "MaxContentLength")]
public string Content { get; set; }
Property Value
CoverImageMediaId
Declaration
public Guid? CoverImageMediaId { get; set; }
Property Value
ShortDescription
Declaration
[DynamicMaxLength(typeof(BlogPostConsts), "MaxShortDescriptionLength")]
public string ShortDescription { get; set; }
Property Value
Slug
Declaration
[Required]
[DynamicStringLength(typeof(BlogPostConsts), "MaxSlugLength", "MinSlugLength")]
public string Slug { get; set; }
Property Value
Title
Declaration
[Required]
[DynamicMaxLength(typeof(BlogPostConsts), "MaxTitleLength")]
public string Title { get; set; }
Property Value
Implements
Extension Methods