TableDataInfo标记Schema
This commit is contained in:
parent
5cd37aea45
commit
221c1428df
@ -3,25 +3,32 @@ package com.ruoyi.common.core.page;
|
||||
import java.io.Serializable;
|
||||
import java.util.List;
|
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
|
||||
/**
|
||||
* 表格分页数据对象
|
||||
*
|
||||
* @author ruoyi
|
||||
*/
|
||||
@Schema(title = "表格分页数据对象")
|
||||
public class TableDataInfo implements Serializable
|
||||
{
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/** 总记录数 */
|
||||
@Schema(title = "总记录数")
|
||||
private long total;
|
||||
|
||||
/** 列表数据 */
|
||||
@Schema(title = "列表数据")
|
||||
private List<?> rows;
|
||||
|
||||
/** 消息状态码 */
|
||||
@Schema(title = "消息状态码")
|
||||
private int code;
|
||||
|
||||
/** 消息内容 */
|
||||
@Schema(title = "消息内容")
|
||||
private String msg;
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user