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

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;

/**
 * @author zhouhanwei
 * @create 2023/3/20 15:21
 */
@ApiModel()
@EqualsAndHashCode
public class ParkingFreePassReasonVO {

    /**
     * id
     */
    @ApiModelProperty(name = "id", value = "id")
    private Long id;


    /**
     * 免费放行原因
     */
    @ApiModelProperty(name = "freePassReason", value = "免费放行原因")
    private String freePassReason;
    /**
     * 排序
     */
    @ApiModelProperty(name = "sort", value = "排序")
    private Integer sort;
    /**
     * 开启状态（0：否，1：是）
     */
    @ApiModelProperty(name = "enableStatus", value = "开启状态（0：否，1：是）")
    private Integer enableStatus;
    /**
     * 使用次数
     */
    @ApiModelProperty(name = "usageCount", value = "使用次数")
    private Integer usageCount;
    /**
     * 客户id
     */
    @ApiModelProperty(name = "customerId", value = "客户id")
    private Long customerId;
    /**
     * 停车场id
     */
    @ApiModelProperty(name = "parkingId", value = "停车场id")
    private Long parkingId;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getFreePassReason() {
        return freePassReason;
    }

    public void setFreePassReason(String freePassReason) {
        this.freePassReason = freePassReason;
    }

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    public Integer getEnableStatus() {
        return enableStatus;
    }

    public void setEnableStatus(Integer enableStatus) {
        this.enableStatus = enableStatus;
    }

    public Integer getUsageCount() {
        return usageCount;
    }

    public void setUsageCount(Integer usageCount) {
        this.usageCount = usageCount;
    }

    public Long getCustomerId() {
        return customerId;
    }

    public void setCustomerId(Long customerId) {
        this.customerId = customerId;
    }

    public Long getParkingId() {
        return parkingId;
    }

    public void setParkingId(Long parkingId) {
        this.parkingId = parkingId;
    }

    @Override
    public String toString() {
        return "ParkingFreePassReasonVO{" +
                "id=" + id +
                ", freePassReason='" + freePassReason + '\'' +
                ", sort=" + sort +
                ", enableStatus=" + enableStatus +
                ", usageCount=" + usageCount +
                ", customerId=" + customerId +
                ", parkingId=" + parkingId +
                '}';
    }

}
