From dba72443e05e7b0a52ee85bfd9f4641aebc42c60 Mon Sep 17 00:00:00 2001
From: xufenglei <xufenglei>
Date: Thu, 07 Dec 2017 08:58:09 +0800
Subject: [PATCH] app接口

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

diff --git a/src/main/java/com/moral/entity/Device.java b/src/main/java/com/moral/entity/Device.java
index 83a0858..ca4ebc2 100644
--- a/src/main/java/com/moral/entity/Device.java
+++ b/src/main/java/com/moral/entity/Device.java
@@ -4,6 +4,10 @@
 
 import lombok.Data;
 
+
+/**
+ * Instantiates a new device.
+ */
 @Data
 public class Device {/**
 	 * This field was generated by MyBatis Generator. This field corresponds to the database column device.id
@@ -65,4 +69,51 @@
 	 * @mbggenerated  Wed Nov 29 16:17:59 CST 2017
 	 */
 	private Integer deviceVersionId;
+	
+	/**
+	 * Sets the uid.
+	 *
+	 * @param uid the new uid
+	 */
+	public void setUid(Integer uid) {
+		this.operateUserId = uid;
+	}
+
+	/**
+	 * Sets the device name.
+	 *
+	 * @param device_name the new device name
+	 */
+	public void setDevice_name(String  device_name) {
+		this.name = device_name;
+	}
+	
+	/**
+	 * Gets the device name.
+	 *
+	 * @return the device name
+	 */
+	public String getDevice_name() {
+		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() {
+        return state;
+    }
+
+	
 }
\ No newline at end of file

--
Gitblit v1.8.0