胖子天骄的MES系统
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

DevicesInfoDto.cs 2.1 KiB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  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. }
  87. }