用户物品导出
This commit is contained in:
38
api/src/main/java/com/wx/application/gorse4j/GorsePage.java
Normal file
38
api/src/main/java/com/wx/application/gorse4j/GorsePage.java
Normal file
@@ -0,0 +1,38 @@
|
||||
package com.wx.application.gorse4j;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 查询的分页结果
|
||||
*/
|
||||
@JsonIgnoreProperties(ignoreUnknown = true)
|
||||
public class GorsePage {
|
||||
|
||||
/**
|
||||
* 下一页的查询码,查询首页可缺省
|
||||
*/
|
||||
private String cursor;
|
||||
|
||||
private List<User> users;
|
||||
|
||||
private List<Item> items;
|
||||
|
||||
@JsonProperty("Cursor")
|
||||
public String getCursor() {
|
||||
return cursor;
|
||||
}
|
||||
|
||||
@JsonProperty("Users")
|
||||
public List<User> getUsers() {
|
||||
return users;
|
||||
}
|
||||
|
||||
@JsonProperty("Items")
|
||||
public List<Item> getItems() {
|
||||
return items;
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user