ExamOrgResultInput.cs 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. namespace YBEE.EQM.Application;
  2. /// <summary>
  3. /// 添加机构反馈结果文件输入参数
  4. /// </summary>
  5. public class AddExamOrgResultInput
  6. {
  7. /// <summary>
  8. /// 监测计划ID
  9. /// </summary>
  10. [Required]
  11. public int ExamPlanId { get; set; }
  12. /// <summary>
  13. /// 监测结果发布内容ID
  14. /// </summary>
  15. [Required]
  16. public int ExamDataPublishId { get; set; }
  17. /// <summary>
  18. /// 监测机构ID
  19. /// </summary>
  20. [Required]
  21. public int ExamOrgId { get; set; }
  22. /// <summary>
  23. /// 机构ID
  24. /// </summary>
  25. [Required]
  26. public int SysOrgId { get; set; }
  27. /// <summary>
  28. /// 文件名
  29. /// </summary>
  30. [Required]
  31. public string FileName { get; set; }
  32. /// <summary>
  33. /// 文件路径
  34. /// </summary>
  35. [Required]
  36. public string FilePath { get; set; }
  37. /// <summary>
  38. /// 扩展名
  39. /// </summary>
  40. [Required]
  41. public string FileExtName { get; set; }
  42. /// <summary>
  43. /// 文件大小
  44. /// </summary>
  45. [Required]
  46. public long FileSize { get; set; } = 0;
  47. }
  48. /// <summary>
  49. /// 上传机构反馈结果输入参数
  50. /// </summary>
  51. public class UploadExamOrgResultInput
  52. {
  53. /// <summary>
  54. /// 监测计划ID
  55. /// </summary>
  56. [Required]
  57. public int ExamPlanId { get; set; }
  58. /// <summary>
  59. /// 监测结果反馈ID
  60. /// </summary>
  61. [Required]
  62. public int ExamDataPublishId { get; set; }
  63. /// <summary>
  64. /// 监测机构ID
  65. /// </summary>
  66. [Required]
  67. public int ExamOrgId { get; set; }
  68. /// <summary>
  69. /// 机构ID
  70. /// </summary>
  71. [Required]
  72. public int SysOrgId { get; set; }
  73. /// <summary>
  74. /// 文件
  75. /// </summary>
  76. [Required]
  77. public IFormFile File { get; set; }
  78. }