新增Dto 的对外接口描述。
This commit is contained in:
@@ -2,6 +2,9 @@ package com.gzzn.omms.adminapi.dto;
|
||||
|
||||
import com.gzzn.omms.adminapi.enums.ResultCode;
|
||||
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author xiunai
|
||||
@@ -10,9 +13,16 @@ import com.gzzn.omms.adminapi.enums.ResultCode;
|
||||
*
|
||||
*
|
||||
*/
|
||||
@ApiModel(value="ResponseDto",description="Api返回封装Dto")
|
||||
public class ResponseDto<T> {
|
||||
|
||||
@ApiModelProperty(value="是否成功",example="true")
|
||||
private Boolean is_success;
|
||||
|
||||
@ApiModelProperty(value="错误代码",example="1")
|
||||
private Integer err_code;
|
||||
|
||||
@ApiModelProperty(value="错误消息描述",example="成功")
|
||||
private String err_msg;
|
||||
|
||||
private T body;
|
||||
|
||||
@@ -1,8 +1,16 @@
|
||||
package com.gzzn.omms.adminapi.dto.basicdata;
|
||||
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
|
||||
@ApiModel(value="值机岛Dto",description="值机岛基础数据")
|
||||
public class CheckinGroupDto {
|
||||
private String checkinGroupCode; //值机岛代码
|
||||
private String checkinGroupName; //值机岛名称
|
||||
|
||||
@ApiModelProperty(value="值机岛代码",example="A")
|
||||
private String checkinGroupCode;
|
||||
|
||||
@ApiModelProperty(value="值机岛名称",example="A岛")
|
||||
private String checkinGroupName;
|
||||
|
||||
public String getCheckinGroupCode() {
|
||||
return checkinGroupCode;
|
||||
|
||||
Reference in New Issue
Block a user