| | |
| | |
|
| | | 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
|
| | |
| | | * @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;
|
| | | }
|
| | |
|
| | | |
| | | } |