|  |  |  | @ -1,9 +1,11 @@ | 
			
		
	
		
			
				
					|  |  |  |  | using System.ComponentModel.DataAnnotations; | 
			
		
	
		
			
				
					|  |  |  |  | using System; | 
			
		
	
		
			
				
					|  |  |  |  | using System.ComponentModel.DataAnnotations; | 
			
		
	
		
			
				
					|  |  |  |  | using Volo.Abp.Validation; | 
			
		
	
		
			
				
					|  |  |  |  | using Volo.CmsKit.Blogs; | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  | namespace Volo.CmsKit.Admin.Blogs | 
			
		
	
		
			
				
					|  |  |  |  | { | 
			
		
	
		
			
				
					|  |  |  |  |     [Serializable] | 
			
		
	
		
			
				
					|  |  |  |  |     public class UpdateBlogPostDto | 
			
		
	
		
			
				
					|  |  |  |  |     { | 
			
		
	
		
			
				
					|  |  |  |  |         [Required] | 
			
		
	
	
		
			
				
					|  |  |  | @ -11,10 +13,7 @@ namespace Volo.CmsKit.Admin.Blogs | 
			
		
	
		
			
				
					|  |  |  |  |         public string Title { get; set; } | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |         [Required] | 
			
		
	
		
			
				
					|  |  |  |  |         [DynamicStringLength( | 
			
		
	
		
			
				
					|  |  |  |  |             typeof(BlogPostConsts), | 
			
		
	
		
			
				
					|  |  |  |  |             nameof(BlogPostConsts.MaxSlugLength), | 
			
		
	
		
			
				
					|  |  |  |  |             nameof(BlogPostConsts.MinSlugLength))] | 
			
		
	
		
			
				
					|  |  |  |  |         [DynamicStringLength(typeof(BlogPostConsts), nameof(BlogPostConsts.MaxSlugLength), nameof(BlogPostConsts.MinSlugLength))] | 
			
		
	
		
			
				
					|  |  |  |  |         public string Slug { get; set; } | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |         [DynamicMaxLength(typeof(BlogPostConsts), nameof(BlogPostConsts.MaxShortDescriptionLength))] | 
			
		
	
	
		
			
				
					|  |  |  | 
 |