package com.ruoyi.system.domain;
|
|
import com.fasterxml.jackson.annotation.JsonProperty;
|
import java.io.Serializable;
|
import java.util.List;
|
|
/**
|
* CMS车辆设备列表查询响应
|
*/
|
public class CmsVehicleDeviceListResponse implements Serializable {
|
private static final long serialVersionUID = 1L;
|
|
/** 结果码 */
|
@JsonProperty("result")
|
private Integer result;
|
|
/** 设备列表 */
|
@JsonProperty("devices")
|
private List<VehicleDevice> devices;
|
|
public Integer getResult() {
|
return result;
|
}
|
|
public void setResult(Integer result) {
|
this.result = result;
|
}
|
|
public List<VehicleDevice> getDevices() {
|
return devices;
|
}
|
|
public void setDevices(List<VehicleDevice> devices) {
|
this.devices = devices;
|
}
|
|
public static class VehicleDevice {
|
/** 车牌号 */
|
@JsonProperty("vid")
|
private String vehicleId;
|
|
/** 设备类型 */
|
@JsonProperty("type")
|
private Integer type;
|
|
/** 设备号 */
|
@JsonProperty("did")
|
private String deviceId;
|
|
public String getVehicleId() {
|
return vehicleId;
|
}
|
|
public void setVehicleId(String vehicleId) {
|
this.vehicleId = vehicleId;
|
}
|
|
public Integer getType() {
|
return type;
|
}
|
|
public void setType(Integer type) {
|
this.type = type;
|
}
|
|
public String getDeviceId() {
|
return deviceId;
|
}
|
|
public void setDeviceId(String deviceId) {
|
this.deviceId = deviceId;
|
}
|
}
|
}
|