ApiGroupUpdateDto.cs 921 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. using System;
  2. using System.ComponentModel.DataAnnotations;
  3. using Model.Base;
  4. namespace Dto
  5. {
  6. /// <summary>
  7. /// 修改
  8. /// </summary>
  9. public class ApiGroupUpdateDto
  10. {
  11. /// <summary>
  12. /// 名称
  13. /// </summary>
  14. [Required(ErrorMessage = "名称不能为空")]
  15. public string? groupName { get; set; }
  16. /// <summary>
  17. /// 说明
  18. /// </summary>
  19. public string? groupRemark { get; set; }
  20. /// <summary>
  21. /// 版本号
  22. /// </summary>
  23. [Required(ErrorMessage = "版本号不能为空")]
  24. public string? groupVersion { get; set; }
  25. /// <summary>
  26. /// ID
  27. /// </summary>
  28. public int id { get; set; }
  29. /// <summary>
  30. /// 类型
  31. /// </summary>
  32. [Required(ErrorMessage = "类型不能为空")]
  33. public int groupKind { get; set; }
  34. }
  35. }