using System;
using System.ComponentModel.DataAnnotations;
using Model.Base;
namespace Dto
{
///
/// 页面数据检查
///
public class AppPageInfoDto
{
///
/// 模板更新版本
///
[Required(ErrorMessage = "模板更新版本不能为空")]
[RegularExpression(@"^\d+$", ErrorMessage = "模板更新版本格式有误")]
public int moduleVersion { get; set; }
///
/// 模板路径
///
[Required(ErrorMessage = "模板路径不能为空")]
public string? modulePath { get; set; }
///
/// 分类
///
[Required(ErrorMessage = "分类不能为空")]
public string? kind { get; set; }
}
}