From eb3dd00b0b7fcda477229d518d250f9c842b790b Mon Sep 17 00:00:00 2001
From: feiyu02 <risaku@163.com>
Date: 星期二, 21 十月 2025 17:45:44 +0800
Subject: [PATCH] 2025.10.21 1. 走航季度报告相关数据计算逻辑调整
---
src/main/kotlin/com/flightfeather/uav/domain/entity/DeviceInfo.java | 51 +++++++++++++++++++++++++++++++++++++++++++--------
1 files changed, 43 insertions(+), 8 deletions(-)
diff --git a/src/main/kotlin/com/flightfeather/uav/domain/entity/DeviceInfo.java b/src/main/kotlin/com/flightfeather/uav/domain/entity/DeviceInfo.java
index 9a74cc2..d54df80 100644
--- a/src/main/kotlin/com/flightfeather/uav/domain/entity/DeviceInfo.java
+++ b/src/main/kotlin/com/flightfeather/uav/domain/entity/DeviceInfo.java
@@ -1,5 +1,6 @@
package com.flightfeather.uav.domain.entity;
+import java.util.Date;
import javax.persistence.*;
@Table(name = "device_info")
@@ -11,8 +12,14 @@
@Column(name = "device_type")
private String deviceType;
- @Column(name = "type_name")
- private String typeName;
+ @Column(name = "device_name")
+ private String deviceName;
+
+ @Column(name = "display_index")
+ private Integer displayIndex;
+
+ @Column(name = "create_time")
+ private Date createTime;
/**
* @return device_code
@@ -43,16 +50,44 @@
}
/**
- * @return type_name
+ * @return device_name
*/
- public String getTypeName() {
- return typeName;
+ public String getDeviceName() {
+ return deviceName;
}
/**
- * @param typeName
+ * @param deviceName
*/
- public void setTypeName(String typeName) {
- this.typeName = typeName == null ? null : typeName.trim();
+ public void setDeviceName(String deviceName) {
+ this.deviceName = deviceName == null ? null : deviceName.trim();
+ }
+
+ /**
+ * @return display_index
+ */
+ public Integer getDisplayIndex() {
+ return displayIndex;
+ }
+
+ /**
+ * @param displayIndex
+ */
+ public void setDisplayIndex(Integer displayIndex) {
+ this.displayIndex = displayIndex;
+ }
+
+ /**
+ * @return create_time
+ */
+ public Date getCreateTime() {
+ return createTime;
+ }
+
+ /**
+ * @param createTime
+ */
+ public void setCreateTime(Date createTime) {
+ this.createTime = createTime;
}
}
\ No newline at end of file
--
Gitblit v1.9.3