From c3e1f9b9af29647bd157f2ea268bc56b2d3b9df1 Mon Sep 17 00:00:00 2001 From: 于紫祥_1901 <email@yuzixiang_1910> Date: Mon, 31 Aug 2020 14:47:46 +0800 Subject: [PATCH] 风场图update --- src/main/java/com/moral/entity/MonitorPoint.java | 19 +++++++++++++++++-- 1 files changed, 17 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..6decda3 100644 --- a/src/main/java/com/moral/entity/MonitorPoint.java +++ b/src/main/java/com/moral/entity/MonitorPoint.java @@ -1,6 +1,9 @@ package com.moral.entity; +import java.util.List; + import javax.persistence.Id; +import javax.persistence.Transient; import lombok.Data; @@ -29,7 +32,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 +40,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 +97,16 @@ * @mbggenerated Thu Dec 07 16:40:22 CST 2017 */ private String description; + @Transient + private Integer state; + @Transient + private AreaNames areaNames; + @Transient + private Organization organization; + + private Long townCode; + private Long villageCode; + + @Transient + private List<Device> devices; } \ No newline at end of file -- Gitblit v1.8.0