From 1566e4c7604d85737ea67fe6757e71b8185fa48e Mon Sep 17 00:00:00 2001
From: huang <1532065656@qq.com>
Date: 星期二, 18 十一月 2025 16:52:42 +0800
Subject: [PATCH] 添加设备管理页面,添加测试设备任务监控页面
---
mes-processes/mes-plcSend/src/main/java/com/mes/device/entity/DeviceGroupConfig.java | 37 +++++++++++++++++++------------------
1 files changed, 19 insertions(+), 18 deletions(-)
diff --git a/mes-processes/mes-plcSend/src/main/java/com/mes/device/entity/DeviceGroupConfig.java b/mes-processes/mes-plcSend/src/main/java/com/mes/device/entity/DeviceGroupConfig.java
index a7641bc..3427fd9 100644
--- a/mes-processes/mes-plcSend/src/main/java/com/mes/device/entity/DeviceGroupConfig.java
+++ b/mes-processes/mes-plcSend/src/main/java/com/mes/device/entity/DeviceGroupConfig.java
@@ -2,7 +2,8 @@
import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
-import io.swagger.v3.oas.annotations.media.Schema;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
@@ -15,72 +16,72 @@
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("device_group_config")
-@Schema(name = "DeviceGroupConfig", description = "璁惧缁勯厤缃俊鎭�")
+@ApiModel(value = "DeviceGroupConfig", description = "璁惧缁勯厤缃俊鎭�")
public class DeviceGroupConfig {
- @Schema(description = "璁惧缁処D", example = "1")
+ @ApiModelProperty(value = "璁惧缁処D", example = "1")
@TableId(value = "id", type = IdType.AUTO)
private Long id;
- @Schema(description = "璁惧缁勫悕绉�", example = "鐢熶骇绾緼")
+ @ApiModelProperty(value = "璁惧缁勫悕绉�", example = "鐢熶骇绾緼")
@TableField("group_name")
private String groupName;
- @Schema(description = "璁惧缁勭紪鍙�", example = "GROUP_001")
+ @ApiModelProperty(value = "璁惧缁勭紪鍙�", example = "GROUP_001")
@TableField("group_code")
private String groupCode;
- @Schema(description = "璁惧缁勭被鍨嬶細1-鐢熶骇绾匡紝2-娴嬭瘯绾匡紝3-杈呭姪璁惧缁�", example = "1")
+ @ApiModelProperty(value = "璁惧缁勭被鍨嬶細1-鐢熶骇绾匡紝2-娴嬭瘯绾匡紝3-杈呭姪璁惧缁�", example = "1")
@TableField("group_type")
private Integer groupType;
- @Schema(description = "鎵�灞為」鐩甀D", example = "1")
+ @ApiModelProperty(value = "鎵�灞為」鐩甀D", example = "1")
@TableField("project_id")
private Long projectId;
- @Schema(description = "璁惧缁勭姸鎬侊細0-鍋滅敤锛�1-鍚敤锛�3-缁存姢涓�", example = "1")
+ @ApiModelProperty(value = "璁惧缁勭姸鎬侊細0-鍋滅敤锛�1-鍚敤锛�3-缁存姢涓�", example = "1")
@TableField("status")
private Integer status;
- @Schema(description = "鏈�澶у苟鍙戣澶囨暟", example = "3")
+ @ApiModelProperty(value = "鏈�澶у苟鍙戣澶囨暟", example = "3")
@TableField("max_concurrent_devices")
private Integer maxConcurrentDevices;
- @Schema(description = "蹇冭烦妫�娴嬮棿闅�(绉�)", example = "30")
+ @ApiModelProperty(value = "蹇冭烦妫�娴嬮棿闅�(绉�)", example = "30")
@TableField("heartbeat_interval")
private Integer heartbeatInterval;
- @Schema(description = "閫氫俊瓒呮椂鏃堕棿(姣)", example = "5000")
+ @ApiModelProperty(value = "閫氫俊瓒呮椂鏃堕棿(姣)", example = "5000")
@TableField("communication_timeout")
private Integer communicationTimeout;
- @Schema(description = "璁惧缁勬弿杩�", example = "鐢熶骇绾緼璁惧缁�")
+ @ApiModelProperty(value = "璁惧缁勬弿杩�", example = "鐢熶骇绾緼璁惧缁�")
@TableField("description")
private String description;
- @Schema(description = "鎵╁睍閰嶇疆JSON", example = "{\"retryTimes\": 3, \"batchSize\": 100}")
+ @ApiModelProperty(value = "鎵╁睍閰嶇疆JSON", example = "{\"retryTimes\": 3, \"batchSize\": 100}")
@TableField("extra_config")
private String extraConfig;
- @Schema(description = "鍒涘缓鏃堕棿")
+ @ApiModelProperty(value = "鍒涘缓鏃堕棿")
@TableField(value = "created_time", fill = FieldFill.INSERT)
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
private Date createdTime;
- @Schema(description = "鏇存柊鏃堕棿")
+ @ApiModelProperty(value = "鏇存柊鏃堕棿")
@TableField(value = "updated_time", fill = FieldFill.INSERT_UPDATE)
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
private Date updatedTime;
- @Schema(description = "鍒涘缓浜�", example = "system")
+ @ApiModelProperty(value = "鍒涘缓浜�", example = "system")
@TableField(value = "created_by", fill = FieldFill.INSERT)
private String createdBy;
- @Schema(description = "鏇存柊浜�", example = "system")
+ @ApiModelProperty(value = "鏇存柊浜�", example = "system")
@TableField(value = "updated_by", fill = FieldFill.INSERT_UPDATE)
private String updatedBy;
- @Schema(description = "鏄惁鍒犻櫎锛�0-鍚︼紝1-鏄�", example = "0")
+ @ApiModelProperty(value = "鏄惁鍒犻櫎锛�0-鍚︼紝1-鏄�", example = "0")
@TableField("is_deleted")
@TableLogic
private Integer isDeleted;
--
Gitblit v1.8.0