From b9baa2c78a067e9e67c7c824a28c8fd36682ecc8 Mon Sep 17 00:00:00 2001 From: 沈斌 <bluelazysb@hotmail.com> Date: Tue, 08 May 2018 13:58:14 +0800 Subject: [PATCH] test --- src/main/java/com/moral/entity/Device.java | 16 ++++++---------- 1 files changed, 6 insertions(+), 10 deletions(-) diff --git a/src/main/java/com/moral/entity/Device.java b/src/main/java/com/moral/entity/Device.java index ec0b15f..3d11d54 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; @@ -12,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 */ @@ -84,15 +86,6 @@ } /** - * 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 @@ -117,4 +110,7 @@ private DeviceVersion deviceVersion; @Transient private MonitorPoint monitorPoint; + @Transient + private List<Integer> organizationIds; + } \ No newline at end of file -- Gitblit v1.8.0