All Downloads are FREE. Search and download functionalities are using the official Maven repository.

cn.binarywang.wx.miniapp.bean.cloud.WxCloudDatabaseQueryResult Maven / Gradle / Ivy

There is a newer version: 4.6.7.B
Show newest version
package cn.binarywang.wx.miniapp.bean.cloud;

import com.google.gson.annotations.SerializedName;
import lombok.Data;

import java.io.Serializable;

/**
 * 云开发数据库查询记录接口请求结果.
 *
 * @author Binary Wang
 * created on  2020-01-26
 */
@Data
public class WxCloudDatabaseQueryResult implements Serializable {
  private static final long serialVersionUID = 8291820029137872536L;

  /**
   * 分页信息
   */
  private Pager pager;

  /**
   * 查询结果
   */
  private String[] data;

  @Data
  public static class Pager implements Serializable{
    private static final long serialVersionUID = 8556239063823985674L;

    /**
     * Offset	number	偏移
     */
    @SerializedName("Offset")
    private Long offset;

    /**
     * Limit	number	单次查询限制
     */
    @SerializedName("Limit")
    private Long limit;

    /**
     * Total	number	符合查询条件的记录总数
     */
    @SerializedName("Total")
    private Long total;

  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy