123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171 |
- package com.greentech.gateservice.entity;
- import org.springframework.stereotype.Component;
- import java.io.Serializable;
- import java.util.Date;
- @Component
- public class GateInfo implements Serializable {
- private Integer id;
- private Integer projectId;
- private String name;
- private Byte status;
- private String notes;
- private Float x;
- private Float y;
- private Float z;
- private Byte isDelete;
- private Date createdTime;
- private Date updatedTime;
- private String ip;
- private Integer port;
- private String userName;
- private String password;
- private String serialNum;
- private static final long serialVersionUID = 1L;
- public Integer getId() {
- return id;
- }
- public void setId(Integer id) {
- this.id = id;
- }
- public Integer getProjectId() {
- return projectId;
- }
- public void setProjectId(Integer projectId) {
- this.projectId = projectId;
- }
- public String getName() {
- return name;
- }
- public void setName(String name) {
- this.name = name == null ? null : name.trim();
- }
- public Byte getStatus() {
- return status;
- }
- public void setStatus(Byte status) {
- this.status = status;
- }
- public String getNotes() {
- return notes;
- }
- public void setNotes(String notes) {
- this.notes = notes == null ? null : notes.trim();
- }
- public Float getX() {
- return x;
- }
- public void setX(Float x) {
- this.x = x;
- }
- public Float getY() {
- return y;
- }
- public void setY(Float y) {
- this.y = y;
- }
- public Float getZ() {
- return z;
- }
- public void setZ(Float z) {
- this.z = z;
- }
- public Byte getIsDelete() {
- return isDelete;
- }
- public void setIsDelete(Byte isDelete) {
- this.isDelete = isDelete;
- }
- public Date getCreatedTime() {
- return createdTime;
- }
- public void setCreatedTime(Date createdTime) {
- this.createdTime = createdTime;
- }
- public Date getUpdatedTime() {
- return updatedTime;
- }
- public void setUpdatedTime(Date updatedTime) {
- this.updatedTime = updatedTime;
- }
- public String getIp() {
- return ip;
- }
- public void setIp(String ip) {
- this.ip = ip == null ? null : ip.trim();
- }
- public Integer getPort() {
- return port;
- }
- public void setPort(Integer port) {
- this.port = port;
- }
- public String getUserName() {
- return userName;
- }
- public void setUserName(String userName) {
- this.userName = userName == null ? null : userName.trim();
- }
- public String getPassword() {
- return password;
- }
- public void setPassword(String password) {
- this.password = password == null ? null : password.trim();
- }
- public String getSerialNum() {
- return serialNum;
- }
- public void setSerialNum(String serialNum) {
- this.serialNum = serialNum == null ? null : serialNum.trim();
- }
- }
|