集成,总结MES功能
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

97 lines
2.3 KiB

  1. namespace BPA.MES.Base.Application.Services
  2. {
  3. /// <summary>
  4. /// 名 称 :设备Dto类
  5. /// 创 建 人 :yangxiao
  6. /// 创建时间 : 2023/3/2 16:12:06
  7. /// 描 述 :
  8. /// </summary>
  9. public class DevicesInfoDto
  10. {
  11. /// <summary>
  12. /// 名称
  13. /// </summary>
  14. /// <example>设备名称</example>
  15. [Required(ErrorMessage = "名称不能为空")]
  16. public string Name { get; set; }
  17. /// <summary>
  18. /// 编码
  19. /// </summary>
  20. [Required(ErrorMessage = "编码不能为空")]
  21. public string Code { get; set; }
  22. /// <summary>
  23. /// 设备类型
  24. /// </summary>
  25. public string DeviceType { get; set; }
  26. /// <summary>
  27. /// 设备描述
  28. /// </summary>
  29. /// <example>设备描述</example>
  30. public string Describe { get; set; }
  31. /// <summary>
  32. /// 设备维保时间
  33. /// </summary>
  34. /// <example>2023-7-17</example>
  35. public string RepairDate { get; set; }
  36. }
  37. /// <summary>
  38. /// 增加
  39. /// </summary>
  40. public class DevicesInfoAddInput : DevicesInfoDto
  41. {
  42. }
  43. /// <summary>
  44. /// 更新
  45. /// </summary>
  46. public class DevicesInfoUpdateInput : DevicesInfoDto
  47. {
  48. /// <summary>
  49. /// 主键
  50. /// </summary>
  51. public string Id { get; set; }
  52. }
  53. /// <summary>
  54. /// 删除
  55. /// </summary>
  56. public class DevicesInfoDelInput
  57. {
  58. /// <summary>
  59. /// 主键
  60. /// </summary>
  61. public string Id { get; set; }
  62. }
  63. /// <summary>
  64. /// 分页
  65. /// </summary>
  66. public class DevicesInfoQueryPageInput : RequestPage
  67. {
  68. /// <summary>
  69. /// 名称
  70. /// </summary>
  71. public string Name { get; set; }
  72. /// <summary>
  73. /// 编码
  74. /// </summary>
  75. public string Code { get; set; }
  76. }
  77. /// <summary>
  78. /// 输出
  79. /// </summary>
  80. public class DevicesInfoOutput : DevicesInfoDto
  81. {
  82. /// <summary>
  83. /// 主键
  84. /// </summary>
  85. public string Id { get; set; }
  86. /// <summary>
  87. /// 设备Id
  88. /// </summary>
  89. public string DeviceId { get; set; }
  90. /// <summary>
  91. /// 配置
  92. /// </summary>
  93. public string Status { get; set; }
  94. }
  95. }