feat: 代码生成 Beta 公测版本
This commit is contained in:
@@ -12,12 +12,12 @@ import java.math.BigDecimal;
|
||||
#end
|
||||
|
||||
/**
|
||||
* $!{tableComment}分页查询对象
|
||||
* $!{businessName}分页查询对象
|
||||
*
|
||||
* @author ${author}
|
||||
* @since ${date}
|
||||
*/
|
||||
@Schema(description ="$!{tableComment}分页查询对象")
|
||||
@Schema(description ="$!{businessName}查询对象")
|
||||
@Getter
|
||||
@Setter
|
||||
public class ${entityName}Query extends BasePageQuery {
|
||||
@@ -25,9 +25,9 @@ public class ${entityName}Query extends BasePageQuery {
|
||||
private static final long serialVersionUID = 1L;
|
||||
#if($fieldConfigs)
|
||||
#foreach($fieldConfig in ${fieldConfigs})
|
||||
#if($fieldConfig.showInQuery)
|
||||
#if($fieldConfig.isShowInQuery)
|
||||
#if("$!fieldConfig.fieldComment" != "")
|
||||
@Schema(description = "${field.fieldComment}")
|
||||
@Schema(description = "${fieldConfig.fieldComment}")
|
||||
#end
|
||||
private ${fieldConfig.fieldType} ${fieldConfig.fieldName};
|
||||
#end
|
||||
|
||||
Reference in New Issue
Block a user