提交swagger 对象接口补充
This commit is contained in:
14
src/main/java/com/label/dto/CompanyCreateRequest.java
Normal file
14
src/main/java/com/label/dto/CompanyCreateRequest.java
Normal file
@@ -0,0 +1,14 @@
|
||||
package com.label.dto;
|
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
@Data
|
||||
@Schema(description = "创建公司请求")
|
||||
public class CompanyCreateRequest {
|
||||
@Schema(description = "公司名称", example = "示例科技")
|
||||
private String companyName;
|
||||
|
||||
@Schema(description = "公司代码(英文简写)", example = "DEMO")
|
||||
private String companyCode;
|
||||
}
|
||||
Reference in New Issue
Block a user