package com.zksy.visualization.domain.request;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;

/**
 * @author Administrator
 * @version 1.0
 * @project dh-server-micro
 * @description 查询车场列表
 * @date 2024/12/16 10:29:39
 */
@Data
public class ParkingListRequest {
        @NotNull(message = "页码不能为空")
        @Min(value = 1, message = "页码必须大于等于1")
        @ApiModelProperty(value = "页码", example = "1")
        private int pageNum;

        @NotNull(message = "每页条数不能为空")
        @Min(value = 1, message = "每页条数必须大于等于1")
        @ApiModelProperty(value = "每页条数", example = "10")
        private int pageSize;

        @ApiModelProperty(value = "兼容标记，固定传1", example = "1")
        private int returnPage = 1;

        @ApiModelProperty(value = "场区编码/场区名称")
        private String parkingLotFuzzy;

}
