From 6ae23c1e2fb166a7ce42a8dd82511d5a15f3e378 Mon Sep 17 00:00:00 2001 From: wangsiyuan <2392948297@qq.com> Date: Fri, 8 Dec 2023 20:55:28 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=9B=E5=BB=BA=20DeviceInfo.java?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/nbee/echolink/model/DeviceInfo.java | 49 +++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 app/src/main/java/com/nbee/echolink/model/DeviceInfo.java diff --git a/app/src/main/java/com/nbee/echolink/model/DeviceInfo.java b/app/src/main/java/com/nbee/echolink/model/DeviceInfo.java new file mode 100644 index 0000000..b383391 --- /dev/null +++ b/app/src/main/java/com/nbee/echolink/model/DeviceInfo.java @@ -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 + '\'' + + '}'; + } +}