创建 DeviceInfo.java
This commit is contained in:
49
app/src/main/java/com/nbee/echolink/model/DeviceInfo.java
Normal file
49
app/src/main/java/com/nbee/echolink/model/DeviceInfo.java
Normal file
@@ -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 + '\'' +
|
||||
'}';
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user