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

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.nest.springwrap.core.mp.base.BaseEntity;

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

/**
 * @ClassName VehicleOccupancyFee
 * @Description 占位费订单表
 * @Author llc
 * @Date 2023年6月08日
 */
@Data
@ApiModel(value = "占位费订单表", description = "占位费订单表")
@TableName("vehicle_occupancy_fee_bill_detail")
public class VehicleOccupancyFeeBillDetail extends BaseEntity {


    // 停车状态（ 1 = 进入， 0 = 离开 ）
    private Integer placeStatus;

    // 单位收取费用
    private String placeId;
    // 单位收取费用
    private long amountUnit;

    // 收费时间单位
    private long timeUnit;

    // 收取费用
    private long amount;

    // 车位停车时长
    private long parkingTime;

    // 车位充电时长
    private long chargeTime;

    // 车位闲置占用时长
    private long idleTime;

    // 入位时间
    private String startTime;

    // 出位时间
    private String endTime;

    // 占位费主表ID
    private long billId;


    @ApiModelProperty(name = "parkingSpaceId", value = "车位id")
    private Long parkingSpaceId;

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

    @ApiModelProperty(name = "chargeTerminalId", value = "电桩id")
    private Long chargeTerminalId;


/*    // 充电订单记录
    private List<ChargeOrderRecord> chargeOrderRecords;*/
}
