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

import com.yuchen.saas.parking.api.entity.ParkingTeamInfo;
import com.yuchen.saas.parking.api.entity.VehicleMonthlyCardData;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * @description: TODO
 * @author 钱江
 * @date 2022/7/28 下午5:43
 * @version 0.3.0
 */
@Data
@Accessors(chain = true)
public class TeamPassInfo {
    //停车场信息
    private ParkingTeamInfo parkingTeamInfo;
    //月卡有效期剩余最长的月卡
    private VehicleMonthlyCardData monthlyCardData;
    //有效月卡数量
    private int totalAvailableSize;
    //当前已入场车辆数量
    private int occupationSize;

    private long timestamp;

    private boolean fixedCount;

    public TeamPassInfo() {
        this.timestamp = System.currentTimeMillis() / 1000L;
    }
}
