From e2236bdb285884a32b8c58f0873deb603261f4c3 Mon Sep 17 00:00:00 2001 From: fengxiang <110431245@qq.com> Date: Thu, 10 May 2018 15:17:39 +0800 Subject: [PATCH] 获取 报警levels,提供 mpID监控点id,orgId组织id,皆为可选参数 --- src/main/java/com/moral/entity/MonitorPoint.java | 11 +++++++++-- 1 files changed, 9 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/moral/entity/MonitorPoint.java b/src/main/java/com/moral/entity/MonitorPoint.java index 305bee2..5909997 100644 --- a/src/main/java/com/moral/entity/MonitorPoint.java +++ b/src/main/java/com/moral/entity/MonitorPoint.java @@ -1,6 +1,7 @@ package com.moral.entity; import javax.persistence.Id; +import javax.persistence.Transient; import lombok.Data; @@ -29,7 +30,7 @@ * * @mbggenerated Thu Dec 07 16:40:22 CST 2017 */ - private Float longitude; + private Double longitude; /** * This field was generated by MyBatis Generator. @@ -37,7 +38,7 @@ * * @mbggenerated Thu Dec 07 16:40:22 CST 2017 */ - private Float latitude; + private Double latitude; /** * This field was generated by MyBatis Generator. @@ -94,4 +95,10 @@ * @mbggenerated Thu Dec 07 16:40:22 CST 2017 */ private String description; + @Transient + private Integer state; + @Transient + private AreaNames areaNames; + @Transient + private Organization organization; } \ No newline at end of file -- Gitblit v1.8.0