DmpDeviceCommand.java 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  1. package com.usky.transfer.domain;
  2. import com.baomidou.mybatisplus.annotation.IdType;
  3. import com.baomidou.mybatisplus.annotation.TableId;
  4. import java.time.LocalDateTime;
  5. import java.io.Serializable;
  6. import lombok.Data;
  7. import lombok.EqualsAndHashCode;
  8. /**
  9. * <p>
  10. * 创建下发命令历史记录表
  11. * </p>
  12. *
  13. * @author ya
  14. * @since 2024-09-24
  15. */
  16. @Data
  17. @EqualsAndHashCode(callSuper = false)
  18. public class DmpDeviceCommand implements Serializable {
  19. private static final long serialVersionUID = 1L;
  20. /**
  21. * 主键id
  22. */
  23. @TableId(value = "id", type = IdType.AUTO)
  24. private Integer id;
  25. /**
  26. * 产品编码
  27. */
  28. private String productCode;
  29. /**
  30. * 设备Uuid
  31. */
  32. private String deviceUuid;
  33. /**
  34. * 下发命令内容
  35. */
  36. private String commandContent;
  37. /**
  38. * 下发命令响应内容
  39. */
  40. private String commandResponse;
  41. /**
  42. * 命令状态;0 命令执行中,1 命令成功,2 命令失败
  43. */
  44. private Integer commandStatus;
  45. /**
  46. * 创建人
  47. */
  48. private String createdBy;
  49. /**
  50. * 创建时间
  51. */
  52. private LocalDateTime createdTime;
  53. /**
  54. * 更新人
  55. */
  56. private String updatedBy;
  57. /**
  58. * 更新时间
  59. */
  60. private LocalDateTime updatedTime;
  61. /**
  62. * 组织结构ID
  63. */
  64. private Integer deptId;
  65. /**
  66. * 租户ID
  67. */
  68. private Integer tenantId;
  69. /**
  70. * 操作人
  71. */
  72. private String userName;
  73. /**
  74. * 操作人Id
  75. */
  76. private Long userId;
  77. }