平安校园
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.
 
 
 
 
 
 

65 lines
1.2 KiB

  1. //
  2. namespace SafeCampus.System;
  3. /// <summary>
  4. /// 单页输入参数
  5. /// </summary>
  6. public class SpaPageInput : BasePageInput
  7. {
  8. /// <summary>
  9. /// 菜单类型
  10. /// </summary>
  11. public string MenuType { get; set; }
  12. }
  13. /// <summary>
  14. /// 单页输入参数
  15. /// </summary>
  16. public class SpaAddInput : SysResource
  17. {
  18. /// <summary>
  19. /// 标题
  20. /// </summary>
  21. [Required(ErrorMessage = "Title不能为空")]
  22. public override string Title { get; set; }
  23. /// <summary>
  24. /// 菜单类型
  25. /// </summary>
  26. [Required(ErrorMessage = "Title不能为空")]
  27. public override string MenuType { get; set; }
  28. /// <summary>
  29. /// 路径
  30. /// </summary>
  31. [Required(ErrorMessage = "Path不能为空")]
  32. public override string Path { get; set; }
  33. /// <summary>
  34. /// 图标
  35. /// </summary>
  36. [Required(ErrorMessage = "Icon不能为空")]
  37. public override string Icon { get; set; }
  38. }
  39. /// <summary>
  40. /// 单页修改参数
  41. /// </summary>
  42. public class SpaEditInput : SpaAddInput
  43. {
  44. /// <summary>
  45. /// ID
  46. /// </summary>
  47. [IdNotNull(ErrorMessage = "Id不能为空")]
  48. public override long Id { get; set; }
  49. }