package com.yuchen.saas.parking.api.param;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.Range;
import org.nest.springwrap.core.mp.support.Query;

/**
 * @Author: 肖润飞
 * @CreateTime: 2022/09/22 16:00
 * @Description: 错时停车-审核 分页查询参数
 * @Version: 1.0
 */
@Data
public class StaggeredMonthlyCardDataPageParam extends Query {

    @ApiModelProperty(value = "园区ID")
    private Long parkId;

    @ApiModelProperty(value = "车牌号")
    private String plateNo;

    @ApiModelProperty(value = "车主姓名")
    private String personName;

    @ApiModelProperty(value = "车主手机号")
    private String personPhone;

    @ApiModelProperty(value = "移动端用户唯一ID")
    private String payUserId;

    @ApiModelProperty(value = "审核状态0:未开始,1:进行中,2已结束,3:已撤回,4已驳回")
    private Integer reviewState = 3;

    @ApiModelProperty(name = "activeState", value = "使用状态（0 (未生效)未缴费 1 正常使用 2 (待续费)已过期）3已失效")
    @Range(min = 0, max = 3)
    private Integer activeState;

    @ApiModelProperty(name = "parkingId", value = "停车场id")
    private Long parkingId;

    @ApiModelProperty(name = "ruleId", value = "包期规则ID")
    private Long ruleId;

    @ApiModelProperty(name = "freeState", value = "免费状态 0 免费 1 不免费")
    private Integer freeState;

    @ApiModelProperty(name = "placeNo", value = "车位号")
    private String placeNo;

    @ApiModelProperty(name = "pending", value = "是否待处理")
    private Boolean pending = false;
}