You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
62 lines
1.3 KiB
62 lines
1.3 KiB
package com.example.device.entity;
|
|
|
|
/**
|
|
* @author mengff
|
|
* @Date 2020/03/03
|
|
*/
|
|
public class Device {
|
|
private Long id;
|
|
private String stakeMark;
|
|
private String deviceName;
|
|
private String deviceIp;
|
|
private String deviceState;
|
|
|
|
public Device(Long id, String stakeMark, String deviceName, String deviceIp, String deviceState) {
|
|
this.id = id;
|
|
this.stakeMark = stakeMark;
|
|
this.deviceName = deviceName;
|
|
this.deviceIp = deviceIp;
|
|
this.deviceState = deviceState;
|
|
}
|
|
|
|
public Long getId() {
|
|
return id;
|
|
}
|
|
|
|
public void setId(Long id) {
|
|
this.id = id;
|
|
}
|
|
|
|
public String getStakeMark() {
|
|
return stakeMark;
|
|
}
|
|
|
|
public void setStakeMark(String stakeMark) {
|
|
this.stakeMark = stakeMark;
|
|
}
|
|
|
|
public String getDeviceName() {
|
|
return deviceName;
|
|
}
|
|
|
|
public void setDeviceName(String deviceName) {
|
|
this.deviceName = deviceName;
|
|
}
|
|
|
|
public String getDeviceIp() {
|
|
return deviceIp;
|
|
}
|
|
|
|
public void setDeviceIp(String deviceIp) {
|
|
this.deviceIp = deviceIp;
|
|
}
|
|
|
|
public String getDeviceState() {
|
|
return deviceState;
|
|
}
|
|
|
|
public void setDeviceState(String deviceState) {
|
|
this.deviceState = deviceState;
|
|
}
|
|
|
|
}
|
|
|