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.
65 lines
1.3 KiB
65 lines
1.3 KiB
1 year ago
|
package com.zc.business.domain;
|
||
|
|
||
|
/**
|
||
|
* @author mengff
|
||
|
* @Date 2020/03/03
|
||
|
*/
|
||
|
public class Device {
|
||
|
private long id;
|
||
|
|
||
|
public String getDeviceNo() {
|
||
|
return deviceNo;
|
||
|
}
|
||
|
|
||
|
public void setDeviceNo(String deviceNo) {
|
||
|
this.deviceNo = deviceNo;
|
||
|
}
|
||
|
|
||
|
public String getDeviceName() {
|
||
|
return deviceName;
|
||
|
}
|
||
|
|
||
|
public void setDeviceName(String deviceName) {
|
||
|
this.deviceName = deviceName;
|
||
|
}
|
||
|
|
||
|
public String getDeviceIp() {
|
||
|
return deviceIp;
|
||
|
}
|
||
|
|
||
|
@Override
|
||
|
public String toString() {
|
||
|
return "Device{" +
|
||
|
"id=" + id +
|
||
|
", deviceNo='" + deviceNo + '\'' +
|
||
|
", deviceName='" + deviceName + '\'' +
|
||
|
", deviceIp='" + deviceIp + '\'' +
|
||
|
'}';
|
||
|
}
|
||
|
|
||
|
public Device(long id, String deviceNo, String deviceName, String deviceIp) {
|
||
|
this.id = id;
|
||
|
this.deviceNo = deviceNo;
|
||
|
this.deviceName = deviceName;
|
||
|
this.deviceIp = deviceIp;
|
||
|
}
|
||
|
|
||
|
public void setDeviceIp(String deviceIp) {
|
||
|
this.deviceIp = deviceIp;
|
||
|
}
|
||
|
|
||
|
public String getType() {
|
||
|
return type;
|
||
|
}
|
||
|
|
||
|
public void setType(String type) {
|
||
|
this.type = type;
|
||
|
}
|
||
|
|
||
|
private String deviceNo;
|
||
|
private String deviceName;
|
||
|
private String deviceIp;
|
||
|
|
||
|
private String type;
|
||
|
|
||
|
}
|