GateInfo.java 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171
  1. package com.greentech.gateservice.entity;
  2. import org.springframework.stereotype.Component;
  3. import java.io.Serializable;
  4. import java.util.Date;
  5. @Component
  6. public class GateInfo implements Serializable {
  7. private Integer id;
  8. private Integer projectId;
  9. private String name;
  10. private Byte status;
  11. private String notes;
  12. private Float x;
  13. private Float y;
  14. private Float z;
  15. private Byte isDelete;
  16. private Date createdTime;
  17. private Date updatedTime;
  18. private String ip;
  19. private Integer port;
  20. private String userName;
  21. private String password;
  22. private String serialNum;
  23. private static final long serialVersionUID = 1L;
  24. public Integer getId() {
  25. return id;
  26. }
  27. public void setId(Integer id) {
  28. this.id = id;
  29. }
  30. public Integer getProjectId() {
  31. return projectId;
  32. }
  33. public void setProjectId(Integer projectId) {
  34. this.projectId = projectId;
  35. }
  36. public String getName() {
  37. return name;
  38. }
  39. public void setName(String name) {
  40. this.name = name == null ? null : name.trim();
  41. }
  42. public Byte getStatus() {
  43. return status;
  44. }
  45. public void setStatus(Byte status) {
  46. this.status = status;
  47. }
  48. public String getNotes() {
  49. return notes;
  50. }
  51. public void setNotes(String notes) {
  52. this.notes = notes == null ? null : notes.trim();
  53. }
  54. public Float getX() {
  55. return x;
  56. }
  57. public void setX(Float x) {
  58. this.x = x;
  59. }
  60. public Float getY() {
  61. return y;
  62. }
  63. public void setY(Float y) {
  64. this.y = y;
  65. }
  66. public Float getZ() {
  67. return z;
  68. }
  69. public void setZ(Float z) {
  70. this.z = z;
  71. }
  72. public Byte getIsDelete() {
  73. return isDelete;
  74. }
  75. public void setIsDelete(Byte isDelete) {
  76. this.isDelete = isDelete;
  77. }
  78. public Date getCreatedTime() {
  79. return createdTime;
  80. }
  81. public void setCreatedTime(Date createdTime) {
  82. this.createdTime = createdTime;
  83. }
  84. public Date getUpdatedTime() {
  85. return updatedTime;
  86. }
  87. public void setUpdatedTime(Date updatedTime) {
  88. this.updatedTime = updatedTime;
  89. }
  90. public String getIp() {
  91. return ip;
  92. }
  93. public void setIp(String ip) {
  94. this.ip = ip == null ? null : ip.trim();
  95. }
  96. public Integer getPort() {
  97. return port;
  98. }
  99. public void setPort(Integer port) {
  100. this.port = port;
  101. }
  102. public String getUserName() {
  103. return userName;
  104. }
  105. public void setUserName(String userName) {
  106. this.userName = userName == null ? null : userName.trim();
  107. }
  108. public String getPassword() {
  109. return password;
  110. }
  111. public void setPassword(String password) {
  112. this.password = password == null ? null : password.trim();
  113. }
  114. public String getSerialNum() {
  115. return serialNum;
  116. }
  117. public void setSerialNum(String serialNum) {
  118. this.serialNum = serialNum == null ? null : serialNum.trim();
  119. }
  120. }