|
@@ -1,9 +1,13 @@
|
|
|
package cn.org.bjca.trust.java.imserver.entitys;
|
|
|
|
|
|
|
|
|
+import jakarta.persistence.Entity;
|
|
|
+import lombok.Data;
|
|
|
import org.springframework.lang.NonNull;
|
|
|
|
|
|
-public class DeviceEntity {
|
|
|
+@Entity
|
|
|
+@Data
|
|
|
+public class DeviceEntity extends AbstractBaseTimeEntity {
|
|
|
private int _uid;
|
|
|
private String deviceId;
|
|
|
// 厂商 MANUFACTURER
|
|
@@ -22,100 +26,4 @@ public class DeviceEntity {
|
|
|
private String supported64BitAbis;
|
|
|
// SUPPORTED_ABIS
|
|
|
private String supportedAbis;
|
|
|
-
|
|
|
- public void set_uid(int _uid) {
|
|
|
- this._uid = _uid;
|
|
|
- }
|
|
|
-
|
|
|
- public int get_uid() {
|
|
|
- return _uid;
|
|
|
- }
|
|
|
-
|
|
|
- public String getDeviceId() {
|
|
|
- return deviceId;
|
|
|
- }
|
|
|
-
|
|
|
- public void setDeviceId(String deviceId) {
|
|
|
- this.deviceId = deviceId;
|
|
|
- }
|
|
|
-
|
|
|
- public String getManufacturer() {
|
|
|
- return manufacturer;
|
|
|
- }
|
|
|
-
|
|
|
- public void setManufacturer(String manufacturer) {
|
|
|
- this.manufacturer = manufacturer;
|
|
|
- }
|
|
|
-
|
|
|
- public String getBrand() {
|
|
|
- return brand;
|
|
|
- }
|
|
|
-
|
|
|
- public void setBrand(String brand) {
|
|
|
- this.brand = brand;
|
|
|
- }
|
|
|
-
|
|
|
- public String getModel() {
|
|
|
- return model;
|
|
|
- }
|
|
|
-
|
|
|
- public void setModel(String model) {
|
|
|
- this.model = model;
|
|
|
- }
|
|
|
-
|
|
|
- public String getCpuAbi() {
|
|
|
- return cpuAbi;
|
|
|
- }
|
|
|
-
|
|
|
- public void setCpuAbi(String cpuAbi) {
|
|
|
- this.cpuAbi = cpuAbi;
|
|
|
- }
|
|
|
-
|
|
|
- public String getFingerprint() {
|
|
|
- return fingerprint;
|
|
|
- }
|
|
|
-
|
|
|
- public void setFingerprint(String fingerprint) {
|
|
|
- this.fingerprint = fingerprint;
|
|
|
- }
|
|
|
-
|
|
|
- public String getSupported32BitAbis() {
|
|
|
- return supported32BitAbis;
|
|
|
- }
|
|
|
-
|
|
|
- public void setSupported32BitAbis(String supported32BitAbis) {
|
|
|
- this.supported32BitAbis = supported32BitAbis;
|
|
|
- }
|
|
|
-
|
|
|
- public String getSupported64BitAbis() {
|
|
|
- return supported64BitAbis;
|
|
|
- }
|
|
|
-
|
|
|
- public void setSupported64BitAbis(String supported64BitAbis) {
|
|
|
- this.supported64BitAbis = supported64BitAbis;
|
|
|
- }
|
|
|
-
|
|
|
- public String getSupportedAbis() {
|
|
|
- return supportedAbis;
|
|
|
- }
|
|
|
-
|
|
|
- public void setSupportedAbis(String supportedAbis) {
|
|
|
- this.supportedAbis = supportedAbis;
|
|
|
- }
|
|
|
-
|
|
|
- @NonNull
|
|
|
- @Override
|
|
|
- public String toString() {
|
|
|
- return "DeviceEntity{" +
|
|
|
- "deviceId='" + deviceId + '\'' +
|
|
|
- ", manufacturer='" + manufacturer + '\'' +
|
|
|
- ", brand='" + brand + '\'' +
|
|
|
- ", model='" + model + '\'' +
|
|
|
- ", cpuAbi='" + cpuAbi + '\'' +
|
|
|
- ", fingerprint='" + fingerprint + '\'' +
|
|
|
- ", supported32BitAbis='" + supported32BitAbis + '\'' +
|
|
|
- ", supported64BitAbis='" + supported64BitAbis + '\'' +
|
|
|
- ", supportedAbis='" + supportedAbis + '\'' +
|
|
|
- '}';
|
|
|
- }
|
|
|
}
|