创建 DeviceInfo.java
parent
bfc5a741a6
commit
6ae23c1e2f
|
|
@ -0,0 +1,49 @@
|
||||||
|
package com.nbee.echolink.model;
|
||||||
|
|
||||||
|
public class DeviceInfo {
|
||||||
|
private String deviceBrand;
|
||||||
|
private String deviceModel;
|
||||||
|
private String androidVersion;
|
||||||
|
|
||||||
|
public DeviceInfo() {
|
||||||
|
}
|
||||||
|
|
||||||
|
public DeviceInfo(String deviceBrand, String deviceModel, String androidVersion) {
|
||||||
|
this.deviceBrand = deviceBrand;
|
||||||
|
this.deviceModel = deviceModel;
|
||||||
|
this.androidVersion = androidVersion;
|
||||||
|
}
|
||||||
|
|
||||||
|
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;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public String toString() {
|
||||||
|
return "DeviceInfo{" +
|
||||||
|
"deviceBrand='" + deviceBrand + '\'' +
|
||||||
|
", deviceModel='" + deviceModel + '\'' +
|
||||||
|
", androidVersion='" + androidVersion + '\'' +
|
||||||
|
'}';
|
||||||
|
}
|
||||||
|
}
|
||||||
Loading…
Reference in New Issue