refactor(codegen): 更新Swagger注解版本
Some checks reported errors
continuous-integration/drone/push Build encountered an error

This commit is contained in:
lsym004933
2026-01-17 13:54:59 +08:00
parent 5730ae5046
commit c3b925cc13
82 changed files with 573 additions and 573 deletions

View File

@@ -1,7 +1,7 @@
package ${packageName}.entity.query;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
@@ -29,7 +29,7 @@ public class ${ClassName}Query {
/**
* $column.columnComment
*/
@ApiModelProperty("${column.columnComment}")
@Schema(description = "${column.columnComment}")
#if($column.javaType.equals("Date"))
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
#end
@@ -39,7 +39,7 @@ public class ${ClassName}Query {
/**
* $column.columnComment 开始
*/
@ApiModelProperty("${column.columnComment}开始")
@Schema(description = "${column.columnComment}开始")
#if($column.javaType.equals("Date"))
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
#end
@@ -48,7 +48,7 @@ public class ${ClassName}Query {
/**
* $column.columnComment 结束
*/
@ApiModelProperty("${column.columnComment}结束")
@Schema(description = "${column.columnComment}结束")
#if($column.javaType.equals("Date"))
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
#end