From 19bbb04fe271943850e5b0cdba1aaeed633bc83f Mon Sep 17 00:00:00 2001
From: liusheng <337615773@qq.com>
Date: 星期四, 08 六月 2023 16:25:08 +0800
Subject: [PATCH] 添加swagger

---
 smartor/src/main/java/com/smartor/domain/BaseTag.java |   18 ++++++++++++------
 1 files changed, 12 insertions(+), 6 deletions(-)

diff --git a/smartor/src/main/java/com/smartor/domain/BaseTag.java b/smartor/src/main/java/com/smartor/domain/BaseTag.java
index aff43d5..ac31b31 100644
--- a/smartor/src/main/java/com/smartor/domain/BaseTag.java
+++ b/smartor/src/main/java/com/smartor/domain/BaseTag.java
@@ -3,6 +3,8 @@
 import java.util.Date;
 
 import com.fasterxml.jackson.annotation.JsonFormat;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
 import org.apache.commons.lang3.builder.ToStringBuilder;
 import org.apache.commons.lang3.builder.ToStringStyle;
 import com.ruoyi.common.annotation.Excel;
@@ -14,52 +16,56 @@
  * @author ruoyi
  * @date 2023-06-02
  */
+@ApiModel(value = "BaseTag", description = "鏍囩瀵硅薄")
 public class BaseTag extends BaseEntity {
     private static final long serialVersionUID = 1L;
 
     /**
      * 鑷ID
      */
+    @ApiModelProperty(name = "鑷ID")
     private Long tagid;
 
     /**
      * 鏍囩鍒嗙被ID
      */
-    @Excel(name = " 鏍囩鍒嗙被ID ")
+    @ApiModelProperty(name = "鏍囩鍒嗙被ID")
     private Long tagcategoryid;
 
     /**
      * 鏍囩鍚嶇О
      */
-    @Excel(name = " 鏍囩鍚嶇О ")
+    @ApiModelProperty(name = "鏍囩鍚嶇О")
     private String tagname;
 
     /**
      * 鏍囩鎻忚堪
      */
-    @Excel(name = " 鏍囩鎻忚堪 ")
+    @ApiModelProperty(name = "鏍囩鎻忚堪")
     private String tagdescription;
 
     /**
      * 鏈烘瀯ID
      */
-    @Excel(name = " 鏈烘瀯ID ")
+    @ApiModelProperty(name = "鏈烘瀯ID")
     private String orgid;
 
     /**
      * 鍒犻櫎鏍囪
      */
+    @ApiModelProperty(name = "鍒犻櫎鏍囪")
     private String delFlag;
 
     /**
      * 涓婁紶鏍囪
      */
-    @Excel(name = " 涓婁紶鏍囪 ")
+    @ApiModelProperty(name = "涓婁紶鏍囪")
     private Long isupload;
 
     /**
      * 涓婁紶鏃堕棿
      */
+    @ApiModelProperty(name = "涓婁紶鏃堕棿")
     @JsonFormat(pattern = "yyyy-MM-dd")
     @Excel(name = " 涓婁紶鏃堕棿 ", width = 30, dateFormat = "yyyy-MM-dd")
     private Date uploadTime;
@@ -67,7 +73,7 @@
     /**
      * 鏄惁寮�鍚�
      */
-    @Excel(name = " 鏄惁寮�鍚� ")
+    @ApiModelProperty(name = "鏄惁寮�鍚�")
     private Long isenable;
 
     public void setTagid(Long tagid) {

--
Gitblit v1.9.3