SysHelpCreateDto.cs 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. using System.ComponentModel.DataAnnotations;
  2. using Abp.AutoMapper;
  3. using VberZero.AppService.Base.Dto;
  4. using VberZero.BaseSystem;
  5. namespace VberZero.AppService.Helps.Dto;
  6. [AutoMapTo(typeof(SysHelp))]
  7. public class SysHelpCreateDto : VzEntityDto<int?>
  8. {
  9. /// <summary>
  10. /// 分类
  11. /// </summary>
  12. public VzDefinition.HelpType HelpType { get; set; }
  13. [Required]
  14. [StringLength(SysHelp.TitleMaxLength)]
  15. public string Title { get; set; }
  16. /// <summary>
  17. /// 关键字
  18. /// </summary>
  19. [StringLength(SysHelp.KeyWordsMaxLength)]
  20. public string KeyWords { get; set; }
  21. /// <summary>
  22. /// 内容
  23. /// </summary>
  24. [StringLength(SysHelp.ContentMaxLength)]
  25. public string Content { get; set; }
  26. /// <summary>
  27. /// 菜单名称(预留)
  28. /// </summary>
  29. public int? FunctionNo { get; set; }
  30. /// <summary>
  31. /// 菜单权限ID(预留)
  32. /// </summary>
  33. [StringLength(SysFunction.PermissionNameMaxLength)]
  34. public string PermissionName { get; set; }
  35. public int Sequence { get; set; }
  36. }