From 7a728f29a56079f2b490094077c91f805a9e900e Mon Sep 17 00:00:00 2001
From: fengxiang <110431245@qq.com>
Date: Fri, 16 Mar 2018 09:09:16 +0800
Subject: [PATCH] 地图相关资源
---
src/main/java/com/moral/entity/Device.java | 9 ++++++---
1 files changed, 6 insertions(+), 3 deletions(-)
diff --git a/src/main/java/com/moral/entity/Device.java b/src/main/java/com/moral/entity/Device.java
index d180934..d607954 100644
--- a/src/main/java/com/moral/entity/Device.java
+++ b/src/main/java/com/moral/entity/Device.java
@@ -1,6 +1,7 @@
package com.moral.entity;
import java.util.Date;
+import java.util.List;
import javax.persistence.Id;
import javax.persistence.Transient;
@@ -32,12 +33,12 @@
* This field was generated by MyBatis Generator. This field corresponds to the database column device.longitude
* @mbggenerated Wed Nov 29 16:17:59 CST 2017
*/
- private Float longitude;
+ private Double longitude;
/**
* This field was generated by MyBatis Generator. This field corresponds to the database column device.latitude
* @mbggenerated Wed Nov 29 16:17:59 CST 2017
*/
- private Float latitude;
+ private Double latitude;
/**
* This field was generated by MyBatis Generator. This field corresponds to the database column device.mac
* @mbggenerated Wed Nov 29 16:17:59 CST 2017
@@ -108,7 +109,7 @@
*
* @return the status
*/
- public String getStatus() {
+ public String getState() {
return state;
}
@Transient
@@ -117,4 +118,6 @@
private DeviceVersion deviceVersion;
@Transient
private MonitorPoint monitorPoint;
+ @Transient
+ private List<Integer> organizationIds;
}
\ No newline at end of file
--
Gitblit v1.8.0