FileDto.cs 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. using Microsoft.AspNetCore.Http;
  2. using System;
  3. using System.Collections.Generic;
  4. using System.Linq;
  5. using System.Text;
  6. using System.Threading.Tasks;
  7. namespace OASystem.Domain.Dtos.FileDto
  8. {
  9. /// <summary>
  10. /// 文件 Dto
  11. /// </summary>
  12. public class FileDto
  13. {
  14. }
  15. /// <summary>
  16. /// 文件删除 Dto
  17. /// </summary>
  18. public class FileDelDto
  19. {
  20. /// <summary>
  21. /// 文件路径(含文件名称)
  22. /// </summary>
  23. public string? PathUrl { get; set; }
  24. }
  25. public class CommonSaveFileDto
  26. {
  27. public List<IFormFile> Files { get; set; }
  28. public int Ctable { get; set; }
  29. public int Diid { get; set; }
  30. public int Cid { get; set; }
  31. public int Userid { get; set; }
  32. }
  33. public class QueryGroupModelFileDto
  34. {
  35. public int Ctable { get; set; }
  36. public int Diid { get; set; }
  37. public int Cid { get; set; }
  38. public int UserId { get; set; }
  39. }
  40. public class ExportGroupZipDto
  41. {
  42. public int Diid { get; set; }
  43. public int isModule { get; set; }
  44. }
  45. public class ExportGroupByModuleDto
  46. {
  47. public int Ctable { get; set; }
  48. public int Diid { get;set; }
  49. }
  50. public class DeleteGroupFileDto
  51. {
  52. public int Id { get; set; }
  53. public int UserId { get; set; }
  54. }
  55. }