|
|
|
@ -18,7 +18,7 @@ namespace Volo.CmsKit.Blogs |
|
|
|
|
|
|
|
public string UrlSlug { get; protected set; } |
|
|
|
|
|
|
|
public string ShortDescription { get; set; } |
|
|
|
public string ShortDescription { get; protected set; } |
|
|
|
|
|
|
|
public Guid? TenantId { get; } |
|
|
|
|
|
|
|
@ -50,5 +50,10 @@ namespace Volo.CmsKit.Blogs |
|
|
|
|
|
|
|
UrlSlug = urlSlug.NormalizeAsUrlSlug(); |
|
|
|
} |
|
|
|
|
|
|
|
public void SetShortDescription(string shortDescription) |
|
|
|
{ |
|
|
|
ShortDescription = Check.Length(shortDescription, nameof(shortDescription), BlogPostConsts.MaxShortDescriptionLength); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|