|
|
@@ -24,6 +24,15 @@ public class DeviceInfoModel extends SuperModel {
|
|
|
@Schema(description = "设备类型,如 消费机 门禁机")
|
|
|
private DeviceType deviceType;
|
|
|
|
|
|
+ private String deviceTypeStr;
|
|
|
+
|
|
|
+ public String getDeviceTypeStr() {
|
|
|
+ if (deviceType != null) {
|
|
|
+ return deviceType.getRemark();
|
|
|
+ }
|
|
|
+ return "";
|
|
|
+ }
|
|
|
+
|
|
|
@Schema(description = "网关号")
|
|
|
private String gateWayCode;
|
|
|
|