fengxiang
2018-01-11 2ea90fc83051b92d242b87c887336890578a0a30
src/main/java/com/moral/entity/Device.java
@@ -2,13 +2,20 @@
import java.util.Date;
import javax.persistence.Id;
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
    * @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
@@ -65,4 +72,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;
    }
}