From 47b698807344c49fdbdb6fe27fe41f613553e14a Mon Sep 17 00:00:00 2001 From: huangjiayang <5265313@qq.com> Date: 星期四, 08 五月 2025 17:59:47 +0800 Subject: [PATCH] 【UPDATE】生成代码实体模板增加SringDoc注解 --- aps-modules/aps-gen/src/main/resources/vm/java/domain.java.vm | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/aps-modules/aps-gen/src/main/resources/vm/java/domain.java.vm b/aps-modules/aps-gen/src/main/resources/vm/java/domain.java.vm index 387771f..6032704 100644 --- a/aps-modules/aps-gen/src/main/resources/vm/java/domain.java.vm +++ b/aps-modules/aps-gen/src/main/resources/vm/java/domain.java.vm @@ -25,7 +25,7 @@ #elseif($table.tree) #set($Entity="TreeEntity") #end -@ApiModel("${functionName}瀹炰綋绫�") +@Schema(description = "${functionName}瀹炰綋绫�") public class ${ClassName} extends ${Entity} { private static final long serialVersionUID = 1L; @@ -49,7 +49,7 @@ @Excel(name = "${comment}") #end #end - @ApiModelProperty("$column.columnComment") + @Schema(description = "$column.columnComment") private $column.javaType $column.javaField; #end -- Gitblit v1.9.3