|
|
@@ -3,6 +3,7 @@ package com.zhongshu.card.client.model.school;
|
|
|
import com.github.microservice.models.type.DeviceType;
|
|
|
import com.zhongshu.card.client.model.base.SuperModel;
|
|
|
import com.zhongshu.card.client.model.org.OrganizationSimpleModel;
|
|
|
+import com.zhongshu.card.client.utils.type.DataState;
|
|
|
import com.zhongshu.card.client.utils.type.OnLineState;
|
|
|
import com.zhongshu.card.client.utils.type.PaymentModeType;
|
|
|
import io.swagger.v3.oas.annotations.media.Schema;
|
|
|
@@ -47,6 +48,18 @@ public class DeviceBindModel extends SuperModel {
|
|
|
return "";
|
|
|
}
|
|
|
|
|
|
+ @Schema(description = "数据状态")
|
|
|
+ private DataState state;
|
|
|
+
|
|
|
+ public String stateStr;
|
|
|
+
|
|
|
+ public String getStateStr() {
|
|
|
+ if (state != null) {
|
|
|
+ return state.getRemark();
|
|
|
+ }
|
|
|
+ return "";
|
|
|
+ }
|
|
|
+
|
|
|
@Schema(description = "网关")
|
|
|
private String gateWayId;
|
|
|
|