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;

/**
 * @ClassName VehicleMonthlyCardDataPageParam
 * @Description 停车场 车辆包期计划 分页查询参数
 * @Author 张逸飞
 * @Date 2022/7/11 10:50
 */
@Data
public class VehicleMonthlyCardDataPageParam 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审批中）")
    private Integer reviewState = -1;

    @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 = "companyId", value = "企业ID")
    private Long companyId;

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

    @ApiModelProperty(name = "isAbCarPlace", value = "是1  不是0")
    private Integer isAbCarPlace;

    /**
     * 移动端用户删除
     */
    @ApiModelProperty(name = "isUserDeleted", value = "0未删除 1删除")
    private Integer isUserDeleted;

}
