From 5f549c4d7bb36ff4dc012fed9ee1e049dbf899a8 Mon Sep 17 00:00:00 2001
From: fengxiang <110431245@qq.com>
Date: Tue, 08 May 2018 09:28:55 +0800
Subject: [PATCH] 运维app getEquInfoByMac api

---
 src/main/java/com/moral/entity/Device.java |   31 +++++++++++++++++--------------
 1 files changed, 17 insertions(+), 14 deletions(-)

diff --git a/src/main/java/com/moral/entity/Device.java b/src/main/java/com/moral/entity/Device.java
index 7c2670f..588df3f 100644
--- a/src/main/java/com/moral/entity/Device.java
+++ b/src/main/java/com/moral/entity/Device.java
@@ -1,8 +1,10 @@
 package com.moral.entity;
 
 import java.util.Date;
+import java.util.List;
 
 import javax.persistence.Id;
+import javax.persistence.Transient;
 
 import lombok.Data;
 
@@ -11,7 +13,8 @@
  * Instantiates a new device.
  */
 @Data
-public class Device {/**
+public class Device {
+	/**
 	 * This field was generated by MyBatis Generator. This field corresponds to the database column device.id
 	 * @mbggenerated  Wed Nov 29 16:17:59 CST 2017
 	 */
@@ -31,12 +34,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
@@ -72,7 +75,7 @@
 	 * @mbggenerated  Wed Nov 29 16:17:59 CST 2017
 	 */
 	private Integer deviceVersionId;
-	
+	private String isDelete;
 	/**
 	 * Sets the uid.
 	 *
@@ -100,23 +103,23 @@
 		return name;
 	}
 
-	/**
-	 * Sets the monitorpoint.
-	 *
-	 * @param monitorpoint the new monitorpoint
-	 */
-	public void setMonitorpoint(Integer monitorpoint) {
-		this.monitorPointId = monitorpoint;
-	}
+
 
 	/**
 	 * Gets the status.
 	 *
 	 * @return the status
 	 */
-	public String getStatus() {
+	public String getState() {
         return state;
     }
+    @Transient
+	private OperateUser operateUser;
+	@Transient
+	private DeviceVersion deviceVersion;
+	@Transient
+	private MonitorPoint monitorPoint;
+	@Transient
+	private List<Integer> organizationIds;
 
-	
 }
\ No newline at end of file

--
Gitblit v1.8.0