cn.binarywang.wx.miniapp.bean.cloud.WxCloudDatabaseCreateIndexRequest Maven / Gradle / Ivy
package cn.binarywang.wx.miniapp.bean.cloud;
import lombok.Data;
import lombok.experimental.Accessors;
import java.io.Serializable;
import java.util.List;
/**
* 云开发新增索引的请求对象.
*
* @author Binary Wang
* created on 2020-01-26
*/
@Accessors(chain = true)
@Data
public class WxCloudDatabaseCreateIndexRequest implements Serializable {
private static final long serialVersionUID = -8308393731157121109L;
/**
* name string 是 索引名
*/
private String name;
/**
* unique boolean 是 是否唯一
*/
private boolean unique;
/**
* keys Array.