1078-添加通道信息
This commit is contained in:
@@ -0,0 +1,82 @@
|
||||
package com.genersoft.iot.vmp.jt1078.bean;
|
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
|
||||
/**
|
||||
* JT 通道
|
||||
*/
|
||||
@Schema(description = "jt808通道")
|
||||
public class JTChannel {
|
||||
|
||||
private int id;
|
||||
|
||||
/**
|
||||
* 名称
|
||||
*/
|
||||
@Schema(description = "名称")
|
||||
private String name;
|
||||
|
||||
/**
|
||||
* 设备的数据库ID
|
||||
*/
|
||||
@Schema(description = "设备的数据库ID")
|
||||
private int deviceId;
|
||||
|
||||
|
||||
@Schema(description = "创建时间")
|
||||
private String createTime;
|
||||
|
||||
@Schema(description = "更新时间")
|
||||
private String updateTime;
|
||||
|
||||
public int getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setId(int id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public String getName() {
|
||||
return name;
|
||||
}
|
||||
|
||||
public void setName(String name) {
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
public int getDeviceId() {
|
||||
return deviceId;
|
||||
}
|
||||
|
||||
public void setDeviceId(int deviceId) {
|
||||
this.deviceId = deviceId;
|
||||
}
|
||||
|
||||
public String getCreateTime() {
|
||||
return createTime;
|
||||
}
|
||||
|
||||
public void setCreateTime(String createTime) {
|
||||
this.createTime = createTime;
|
||||
}
|
||||
|
||||
public String getUpdateTime() {
|
||||
return updateTime;
|
||||
}
|
||||
|
||||
public void setUpdateTime(String updateTime) {
|
||||
this.updateTime = updateTime;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return "JTChannel{" +
|
||||
"id=" + id +
|
||||
", name='" + name + '\'' +
|
||||
", deviceId=" + deviceId +
|
||||
", createTime='" + createTime + '\'' +
|
||||
", updateTime='" + updateTime + '\'' +
|
||||
'}';
|
||||
}
|
||||
}
|
||||
@@ -47,10 +47,10 @@ public class JTDevice {
|
||||
private String deviceModel;
|
||||
|
||||
/**
|
||||
* 终端ID
|
||||
* 终端手机号
|
||||
*/
|
||||
@Schema(description = "终端ID")
|
||||
private String terminalId;
|
||||
@Schema(description = "终端手机号")
|
||||
private Integer phoneNumber;
|
||||
|
||||
/**
|
||||
* 设备ID
|
||||
@@ -154,12 +154,12 @@ public class JTDevice {
|
||||
this.deviceModel = deviceModel;
|
||||
}
|
||||
|
||||
public String getTerminalId() {
|
||||
return terminalId;
|
||||
public Integer getPhoneNumber() {
|
||||
return phoneNumber;
|
||||
}
|
||||
|
||||
public void setTerminalId(String terminalId) {
|
||||
this.terminalId = terminalId;
|
||||
public void setPhoneNumber(Integer phoneNumber) {
|
||||
this.phoneNumber = phoneNumber;
|
||||
}
|
||||
|
||||
public String getDeviceId() {
|
||||
@@ -243,7 +243,7 @@ public class JTDevice {
|
||||
", 市县域文字描述='" + cityText + '\'' +
|
||||
", 制造商ID='" + makerId + '\'' +
|
||||
", 终端型号='" + deviceModel + '\'' +
|
||||
", 终端ID='" + terminalId + '\'' +
|
||||
", 终端手机号='" + phoneNumber + '\'' +
|
||||
", 设备ID='" + deviceId + '\'' +
|
||||
", 车牌颜色=" + plateColor +
|
||||
", 车牌='" + plateNo + '\'' +
|
||||
|
||||
Reference in New Issue
Block a user