FileUpdateInfoUpdateDto.cs 695 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. using System;
  2. using System.ComponentModel.DataAnnotations;
  3. using Model.Base;
  4. namespace Dto
  5. {
  6. /// <summary>
  7. /// 修改
  8. /// </summary>
  9. public class FileUpdateInfoUpdateDto
  10. {
  11. /// <summary>
  12. /// 更新版本
  13. /// </summary>
  14. public int versionNum { get; set; }
  15. /// <summary>
  16. /// 路径
  17. /// </summary>
  18. [Required(ErrorMessage = "路径不能为空")]
  19. public string? path { get; set; }
  20. /// <summary>
  21. /// 文件名
  22. /// </summary>
  23. public string? fileName { get; set; }
  24. /// <summary>
  25. /// ID
  26. /// </summary>
  27. public int id { get; set; }
  28. }
  29. }