CommandBO.java 684 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. package com.gzlh.entity;
  2. import lombok.Data;
  3. import lombok.experimental.Accessors;
  4. import java.io.Serializable;
  5. import java.util.Date;
  6. @Data
  7. @Accessors(chain = true)
  8. public class CommandBO implements Serializable {
  9. /**
  10. * 命令ID
  11. */
  12. private String id;
  13. private Command command;
  14. /**
  15. * 下发时间
  16. */
  17. private Date commandTime;
  18. @Data
  19. @Accessors(chain = true)
  20. public static class Command{
  21. /**
  22. * 设备模块 gate
  23. */
  24. private String module;
  25. /**
  26. * 具体命令 open
  27. */
  28. private String command;
  29. /**
  30. *
  31. */
  32. private String extra;
  33. }
  34. }