package com.zhiqiyun.open.router.request.place;

import com.dliyun.oap.framework.annotation.ServiceParamField;
import com.dliyun.oap.framework.request.AbstractOapRequest;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotNull;

@EqualsAndHashCode(callSuper = true)
@Data
public class PlaceInfoRequest extends AbstractOapRequest {
	@ServiceParamField(describe = "文旅场所名称(模糊查询)")
	private String name;

	@NotNull
	@ServiceParamField(describe = "页数")
	private Integer current = 1;

	@NotNull
	@ServiceParamField(describe = "每页条数")
	private Integer pageSize = 10;
}
