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

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;

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


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

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

    /**
     * 停车场名称
     */
    @ApiModelProperty(name = "parkingName", value = "停车场名称")
    private String parkingName;

    /**
     * 车牌号
     */
    @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 = "placeIdleCost", value = "占位费总费用")
    private Long placeIdleCost;

    /**
     * 充电总时长
     */
    @ApiModelProperty(name = "placeChargeTime", value = "充电总时长")
    private Long placeChargeTime;
    /**
     * 充电车位占用收费总时长（未充电时长）
     */
    @ApiModelProperty(name = "placeIdleTime", value = "充电车位占用收费总时长（未充电时长）")
    private Long placeIdleTime;
    /**
     * 充电车位上停放的总时长（充电加未充电）
     */
    @ApiModelProperty(name = "placeParkingTime", value = "充电车位上停放的总时长（充电加未充电）")
    private Long placeParkingTime;
    /**
     * 应收占位费（扣除已支付占位费）
     */
    @ApiModelProperty(name = "supposePlaceIdleCost", value = "应收占位费（扣除已支付占位费）")
    private Long supposePlaceIdleCost;

    /**
     * 已付
     */
    @ApiModelProperty(name = "paidPlaceIdleCost", value = "已支付占位费")
    private Long paidPlaceIdleCost;


    /**
     * 关联订单ID
     */
    @ApiModelProperty(name = "billId", value = "关联订单ID")
    private Long billId;


    @ApiModelProperty(name = "stationId", value = "充电站id")
    private  Long stationId;

    @ApiModelProperty(name = "stationName", value = "充电站名称")
    private  String stationName;

    /**
     * 占位费开始计算时间
     */
    @ApiModelProperty(name = "beginTime", value = "占位费开始计算时间")
    private Date beginTime;

    /**
     * 占位费结束计算时间
     */
    @ApiModelProperty(name = "endTime", value = "占位费结束计算时间")
    private Date endTime;


    @ApiModelProperty(name = "userMobile", value = "占位费结束计算时间")
    private String userMobile;


    @ApiModelProperty(name = "settleTime", value = "支付时间")
    private Date settleTime;

    @ApiModelProperty(name = "payType", value = "支付方式")
    private String payType;

    @ApiModelProperty(name = "settleType", value = "结算类型")
    private Integer settleType;
    /**
     * 关联结算订单ID
     */
    @ApiModelProperty(name = "settleBillId", value = "关联结算订单ID")
    private Long settleBillId;

    /**
     * 关联结算订单ID
     */
    @ApiModelProperty(name = "orderNo", value = "关联订单中心ID")
    private String orderNo;
}
