From 368beb362d7ffb017174d7d79a16032d0647776f Mon Sep 17 00:00:00 2001 From: 潘志宝 <979469083@qq.com> Date: 星期一, 26 八月 2024 13:48:11 +0800 Subject: [PATCH] model --- iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/mcs/dto/StModelDocDTO.java | 53 ++++++++++++----------------------------------------- 1 files changed, 12 insertions(+), 41 deletions(-) diff --git a/iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/mcs/dto/StModelDocDTO.java b/iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/mcs/dto/StModelDocDTO.java index 2aee4a8..e4dfbd7 100644 --- a/iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/mcs/dto/StModelDocDTO.java +++ b/iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/mcs/dto/StModelDocDTO.java @@ -1,7 +1,5 @@ package com.iailab.module.mcs.dto; -import com.baomidou.mybatisplus.annotation.IdType; -import com.baomidou.mybatisplus.annotation.TableId; import io.swagger.v3.oas.annotations.media.Schema; import lombok.Data; @@ -20,66 +18,39 @@ public class StModelDocDTO implements Serializable { private static final long serialVersionUID = 1L; - /** - * id - */ - @TableId(type = IdType.ASSIGN_UUID) + @Schema(name = "id") private String id; - /** - * 模型ID - */ + @Schema(name = "模型ID") private String modelId; - /** - * URL - */ + @Schema(name = "URL") private String url; - /** - * 方法 - */ + @Schema(name = "方法") private String method; - /** - * 输入参数 - */ + @Schema(name = "输入参数") private String params; - /** - * 参数示例 - */ + @Schema(name = "参数示例") private String paramsExample; - /** - * 输出结果 - */ + @Schema(name = "输出结果") private String result; - /** - * 结果示例 - */ + @Schema(name = "结果示例") private String resultExample; - /** - * 创建人 - */ + @Schema(name = "创建人") private Long creator; - /** - * 创建时间 - */ + @Schema(name = "创建时间") private Date createDate; - /** - * 修改人 - */ + @Schema(name = "修改人") private Long updater; - /** - * 修改时间 - */ + @Schema(name = "修改时间") private Date updateDate; - - } \ No newline at end of file -- Gitblit v1.9.3