feat():生成接口文档
parent
edf47ce9f1
commit
a11948472a
|
@ -27,20 +27,20 @@ public class CustomerListReq {
|
|||
/**
|
||||
* 服务/客户名称
|
||||
*/
|
||||
@Schema(name = "服务/客户名称",type = "String",description = "客户名称,为微服务中文名称")
|
||||
@Schema(type = "String",defaultValue = "客户名称1",description = "客户名称,为微服务中文名称")
|
||||
private String appName;
|
||||
|
||||
/**
|
||||
*服务/客户编码
|
||||
*/
|
||||
@Schema(name = "服务/客户编码",type = "String",description = "客户名称,为微服务名称")
|
||||
@Schema(type = "String",defaultValue = "customer_code",description = "客户名称,为微服务名称")
|
||||
private String appCode;
|
||||
|
||||
/**
|
||||
*是否开启 sys_yes_no
|
||||
*/
|
||||
@Schema(name = "是否开启",type = "String",description = "客户状态,Y是开启 N是关闭")
|
||||
@NotNull
|
||||
@Schema(type = "String",defaultValue = "Y",description = "客户状态,Y是开启 N是关闭")
|
||||
// @NotNull
|
||||
@IsSystemYesNo
|
||||
private String status;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue