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

import com.yuchen.saas.parking.api.entity.PmgBatParkBill;
import com.yuchen.saas.parking.api.entity.VehicleOccupancyFeeBill;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;
import java.util.List;

/**
 * @author cxj
 */
@Data
public class ParkingSettleBillVo {
    @ApiModelProperty(value = "账单总金额（最大长度8） 单位：分")
    private Long totalCost;

    @ApiModelProperty(value = "是否出场0否1是")
    private Integer isOut;

    @ApiModelProperty(value = "异常消息")
    private String exceptionMsg;

    @ApiModelProperty(name = "parkingBillVo", value = "停车账单详情")
    private ParkingBillVo parkingBillVo;

    @ApiModelProperty(name = "vehicleOccupancyFeeBillList", value = "占位费详情列表")
    private List<VehicleOccupancyFeeBillVo> vehicleOccupancyFeeBillList;


    @Data
    public static class ParkingBillVo extends PmgBatParkBill {

    }

    @Data
    public static class VehicleOccupancyFeeBillVo extends VehicleOccupancyFeeBill {
        @ApiModelProperty(name = "spaceDetailList", value = "占用车位明细")
        private List<SpaceDetail> spaceDetailList;

    }

    /**
     * 车位明细
     */
    @Data
    public static class SpaceDetail{
        @ApiModelProperty(value = "占用车位")
        private String  space;

        @ApiModelProperty(value = "占用时长")
        private Long  spaceTime;
    }



}
