mirror of https://github.com/abpframework/abp.git
csharpabpc-sharpframeworkblazoraspnet-coredotnet-coreaspnetcorearchitecturesaasdomain-driven-designangularmulti-tenancy
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.
21 lines
634 B
21 lines
634 B
using System.ComponentModel.DataAnnotations;
|
|
using Volo.Abp.Validation;
|
|
using Volo.CmsKit.Contents;
|
|
using Volo.CmsKit.Pages;
|
|
|
|
namespace Volo.CmsKit.Admin.Pages
|
|
{
|
|
public class UpdatePageInputDto
|
|
{
|
|
[Required]
|
|
[DynamicMaxLength(typeof(PageConsts), nameof(PageConsts.MaxTitleLength))]
|
|
public string Title { get; set; }
|
|
|
|
[Required]
|
|
[DynamicMaxLength(typeof(PageConsts), nameof(PageConsts.MaxUrlLength))]
|
|
public string Url { get; set; }
|
|
|
|
[DynamicMaxLength(typeof(PageConsts), nameof(PageConsts.MaxDescriptionLength))]
|
|
public string Description { get; set; }
|
|
}
|
|
}
|