mirror of https://github.com/abpframework/abp
				
				
				
			
			You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
					
					
						
							22 lines
						
					
					
						
							641 B
						
					
					
				
			
		
		
	
	
							22 lines
						
					
					
						
							641 B
						
					
					
				| using System;
 | |
| using System.ComponentModel.DataAnnotations;
 | |
| using Volo.Abp.Validation;
 | |
| using Volo.CmsKit.Pages;
 | |
| 
 | |
| namespace Volo.CmsKit.Admin.Pages
 | |
| {
 | |
|     [Serializable]
 | |
|     public class CreatePageInputDto
 | |
|     {
 | |
|         [Required]
 | |
|         [DynamicMaxLength(typeof(PageConsts), nameof(PageConsts.MaxTitleLength))]
 | |
|         public string Title { get; set; }
 | |
| 
 | |
|         [Required]
 | |
|         [DynamicMaxLength(typeof(PageConsts), nameof(PageConsts.MaxSlugLength))]
 | |
|         public string Slug { get; set; }
 | |
|         
 | |
|         [DynamicMaxLength(typeof(PageConsts), nameof(PageConsts.MaxContentLength))]
 | |
|         public string Content { get; set; }
 | |
|     }
 | |
| } |