From c2725191011382618e64ed8e0afdd6b09d2da60d Mon Sep 17 00:00:00 2001
From: linwei <872216696@qq.com>
Date: Thu, 08 Jan 2026 10:24:54 +0800
Subject: [PATCH] 接口初始化
---
drone-service/drone-fw/src/main/java/org/sxkj/fw/device/entity/FwDeviceMaintainRecordEntity.java | 47 ++++++++++++++++++++++++++++++++++++++++++++---
1 files changed, 44 insertions(+), 3 deletions(-)
diff --git a/drone-service/drone-fw/src/main/java/org/sxkj/fw/device/entity/FwDeviceMaintainRecordEntity.java b/drone-service/drone-fw/src/main/java/org/sxkj/fw/device/entity/FwDeviceMaintainRecordEntity.java
index 291f7e7..c5555ba 100644
--- a/drone-service/drone-fw/src/main/java/org/sxkj/fw/device/entity/FwDeviceMaintainRecordEntity.java
+++ b/drone-service/drone-fw/src/main/java/org/sxkj/fw/device/entity/FwDeviceMaintainRecordEntity.java
@@ -17,18 +17,19 @@
package org.sxkj.fw.device.entity;
import com.baomidou.mybatisplus.annotation.TableName;
-import lombok.Data;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
+import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springblade.core.mp.base.BaseEntity;
-import org.springblade.core.tenant.mp.TenantEntity;
+
+import java.util.Date;
/**
* 设备维护记录表 实体类
*
* @author lw
- * @since 2026-01-07
+ * @since 2026-01-08
*/
@Data
@TableName("ja_fw_device_maintain_record")
@@ -36,5 +37,45 @@
@EqualsAndHashCode(callSuper = true)
public class FwDeviceMaintainRecordEntity extends BaseEntity {
+ /**
+ * 设备ID
+ */
+ @ApiModelProperty(value = "设备ID")
+ private Long deviceId;
+ /**
+ * 对应计划ID(空表示临时维护)
+ */
+ @ApiModelProperty(value = "对应计划ID(空表示临时维护)")
+ private Long planId;
+ /**
+ * 实际维护时间
+ */
+ @ApiModelProperty(value = "实际维护时间")
+ private Date maintainTime;
+ /**
+ * 维护内容
+ */
+ @ApiModelProperty(value = "维护内容")
+ private String maintainContent;
+ /**
+ * 更换部件
+ */
+ @ApiModelProperty(value = "更换部件")
+ private String replacePart;
+ /**
+ * 维护结果(已维护/已保养/故障未修复等)
+ */
+ @ApiModelProperty(value = "维护结果(已维护/已保养/故障未修复等)")
+ private String maintainResult;
+ /**
+ * 备注
+ */
+ @ApiModelProperty(value = "备注")
+ private String remark;
+ /**
+ * 区域编码
+ */
+ @ApiModelProperty(value = "区域编码")
+ private String areaCode;
}
--
Gitblit v1.9.3