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;

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


    @ApiModelProperty(value = "租户ID")
    private String tenantId;

    /**
     * 停车场ID
     */
    @ApiModelProperty(name = "parkingId", value = "停车场ID")
    private Long parkingId;

    /**
     * 占位费订单ID
     */
    @ApiModelProperty(name = "billId", value = "占位费订单ID")
    private Long billId;

    /**
     * 车牌号
     */
    @ApiModelProperty(name = "plateNo", value = "车牌号")
    private String plateNo;

    /**
     * 用户OPENID
     */
    @ApiModelProperty(name = "payUserId", value = "用户OPENID")
    private String payUserId;

    /**
     * 是否删除
     */
    @ApiModelProperty(name = "isDeleted", value = "是否删除")
    private Integer isDeleted;

    /**
     * 占位费总费用
     */
    @ApiModelProperty(name = "payType", value = "支付类型")
    private String payType;

    /**
     * 充电总时长
     */
    @ApiModelProperty(name = "supposeCost", value = "应收金额（最大长度8） 单位：分")
    private Long supposeCost;
    /**
     * 充电车位占用收费总时长（未充电时长）
     */
    @ApiModelProperty(name = "placeIdleTime", value = "已支付金额（最大长度8） 单位：分")
    private Long paidCost;
    /**
     * 充电车位上停放的总时长（充电加未充电）
     */
    @ApiModelProperty(name = "totalCost", value = "账单总金额（最大长度8） 单位：分")
    private Long totalCost;
    /**
     * 开票状态 | 0 开票中 1 开票成功 2 开票失败 3 红冲 4 被红冲 9 未开票
     */
    @ApiModelProperty(name = "invoicingStatus", value = "开票状态 | 0 开票中 1 开票成功 2 开票失败 3 红冲 4 被红冲 9 未开票")
    private Integer invoicingStatus;


}
