|  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  | import java.util.Date; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | import javax.persistence.Id; | 
|---|
|  |  |  | import javax.persistence.Transient; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | import lombok.Data; | 
|---|
|  |  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  | 
|---|
|  |  |  | * 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; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | private String isDelete; | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * Sets the uid. | 
|---|
|  |  |  | * | 
|---|
|  |  |  | 
|---|
|  |  |  | return name; | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * Sets the monitorpoint. | 
|---|
|  |  |  | * | 
|---|
|  |  |  | * @param monitorpoint the new monitorpoint | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | public void setMonitorpoint(Integer monitorpoint) { | 
|---|
|  |  |  | this.monitorPointId = monitorpoint; | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * Gets the status. | 
|---|
|  |  |  | 
|---|
|  |  |  | public String getStatus() { | 
|---|
|  |  |  | return state; | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @Transient | 
|---|
|  |  |  | private OperateUser operateUser; | 
|---|
|  |  |  | @Transient | 
|---|
|  |  |  | private DeviceVersion deviceVersion; | 
|---|
|  |  |  | @Transient | 
|---|
|  |  |  | private MonitorPoint monitorPoint; | 
|---|
|  |  |  | } | 
|---|