fengxiang
2018-02-05 259294a3a1f922188075ad6ddad502eca5886b07
src/main/java/com/moral/entity/Device.java
@@ -2,6 +2,9 @@
import java.util.Date;
import javax.persistence.Id;
import javax.persistence.Transient;
import lombok.Data;
@@ -13,6 +16,7 @@
    * 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
    */
   @Id
   private Integer id;
   /**
    * This field was generated by MyBatis Generator. This field corresponds to the database column device.name
@@ -28,12 +32,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
@@ -69,7 +73,7 @@
    * @mbggenerated  Wed Nov 29 16:17:59 CST 2017
    */
   private Integer deviceVersionId;
   private String isDelete;
   /**
    * Sets the uid.
    *
@@ -97,23 +101,20 @@
      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;
}