BrokerServer.java 805 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. package com.yihu.hos.models;
  2. import org.springframework.data.annotation.Id;
  3. import java.util.Date;
  4. /**
  5. * @created Airhead 2016/7/27.
  6. */
  7. public class BrokerServer {
  8. @Id
  9. private String id;
  10. private String host;
  11. private int port;
  12. private Date updatTime;
  13. public String getId() {
  14. return id;
  15. }
  16. public void setId(String id) {
  17. this.id = id;
  18. }
  19. public String getHost() {
  20. return host;
  21. }
  22. public void setHost(String host) {
  23. this.host = host;
  24. }
  25. public int getPort() {
  26. return port;
  27. }
  28. public void setPort(int port) {
  29. this.port = port;
  30. }
  31. public Date getUpdatTime() {
  32. return updatTime;
  33. }
  34. public void setUpdatTime(Date updatTime) {
  35. this.updatTime = updatTime;
  36. }
  37. }