61 lines
1.4 KiB
Java
61 lines
1.4 KiB
Java
package com.nbee.echolink.model;
|
|
|
|
public class DeviceInfo {
|
|
private String deviceBrand;
|
|
private String deviceModel;
|
|
private String androidVersion;
|
|
private String sn;
|
|
|
|
public DeviceInfo() {
|
|
}
|
|
|
|
public DeviceInfo(String deviceBrand, String deviceModel, String androidVersion,String sn) {
|
|
this.deviceBrand = deviceBrand;
|
|
this.deviceModel = deviceModel;
|
|
this.androidVersion = androidVersion;
|
|
this.sn = sn;
|
|
}
|
|
|
|
public String getDeviceBrand() {
|
|
return deviceBrand;
|
|
}
|
|
|
|
public void setDeviceBrand(String deviceBrand) {
|
|
this.deviceBrand = deviceBrand;
|
|
}
|
|
|
|
public String getDeviceModel() {
|
|
return deviceModel;
|
|
}
|
|
|
|
public void setDeviceModel(String deviceModel) {
|
|
this.deviceModel = deviceModel;
|
|
}
|
|
|
|
public String getAndroidVersion() {
|
|
return androidVersion;
|
|
}
|
|
|
|
public void setAndroidVersion(String androidVersion) {
|
|
this.androidVersion = androidVersion;
|
|
}
|
|
|
|
public String getSn() {
|
|
return sn;
|
|
}
|
|
|
|
public void setSn(String sn) {
|
|
this.sn = sn;
|
|
}
|
|
|
|
@Override
|
|
public String toString() {
|
|
return "DeviceInfo{" +
|
|
"deviceBrand='" + deviceBrand + '\'' +
|
|
", deviceModel='" + deviceModel + '\'' +
|
|
", androidVersion='" + androidVersion + '\'' +
|
|
", SN='" + sn + '\'' +
|
|
'}';
|
|
}
|
|
}
|