feat():生成接口文档

master
Yueng 2024-08-07 19:40:49 +08:00
parent edf47ce9f1
commit a11948472a
1 changed files with 4 additions and 4 deletions

View File

@ -27,20 +27,20 @@ public class CustomerListReq {
/** /**
* / * /
*/ */
@Schema(name = "服务/客户名称",type = "String",description = "客户名称,为微服务中文名称") @Schema(type = "String",defaultValue = "客户名称1",description = "客户名称,为微服务中文名称")
private String appName; private String appName;
/** /**
*/ */
*/ */
@Schema(name = "服务/客户编码",type = "String",description = "客户名称,为微服务名称") @Schema(type = "String",defaultValue = "customer_code",description = "客户名称,为微服务名称")
private String appCode; private String appCode;
/** /**
* sys_yes_no * sys_yes_no
*/ */
@Schema(name = "是否开启",type = "String",description = "客户状态Y是开启 N是关闭") @Schema(type = "String",defaultValue = "Y",description = "客户状态Y是开启 N是关闭")
@NotNull // @NotNull
@IsSystemYesNo @IsSystemYesNo
private String status; private String status;
} }