Class CreateModel.CreateBlogPostViewModel
Inheritance
CreateModel.CreateBlogPostViewModel
Assembly: Volo.CmsKit.Admin.Web.dll
Syntax
public class CreateModel.CreateBlogPostViewModel : ExtensibleObject, IHasExtraProperties, IValidatableObject
Constructors
CreateBlogPostViewModel()
Declaration
public CreateBlogPostViewModel()
Properties
BlogId
Declaration
[Required]
[DynamicFormIgnore]
public Guid BlogId { get; set; }
Property Value
Content
Declaration
[HiddenInput]
[DynamicMaxLength(typeof(BlogPostConsts), "MaxContentLength")]
public string Content { get; set; }
Property Value
CoverImageMediaId
Declaration
[HiddenInput]
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")]
[DynamicFormIgnore]
public string Slug { get; set; }
Property Value
Status
Declaration
[HiddenInput]
[DynamicFormIgnore]
public BlogPostStatus Status { get; set; }
Property Value
Title
Declaration
[Required]
[DynamicMaxLength(typeof(BlogPostConsts), "MaxTitleLength")]
[DynamicFormIgnore]
public string Title { get; set; }
Property Value
Implements
Extension Methods