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.
|
-
- //
-
-
-
-
-
-
-
-
- namespace SafeCampus.System;
-
- public class ButtonPageInput : BasePageInput
- {
- /// <summary>
- /// 父ID
- /// </summary>
- [Required(ErrorMessage = "ParentId不能为空")]
- public long? ParentId { get; set; }
- }
-
- /// <summary>
- /// 添加按钮参数
- /// </summary>
- public class ButtonAddInput : SysResource
- {
- /// <summary>
- /// 父ID
- /// </summary>
- [Required(ErrorMessage = "ParentId不能为空")]
- public override long? ParentId { get; set; }
-
- /// <summary>
- /// 标题
- /// </summary>
- [Required(ErrorMessage = "Title不能为空")]
- public override string Title { get; set; }
-
- /// <summary>
- /// 编码
- /// </summary>
- [Required(ErrorMessage = "Code不能为空")]
- public override string Code { get; set; }
- }
-
- public class ButtonEditInput : ButtonAddInput
- {
- /// <summary>
- /// ID
- /// </summary>
- [IdNotNull(ErrorMessage = "Id不能为空")]
- public override long Id { get; set; }
- }
|