package com.yuchen.saas.parking.api.dto.coupon;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * @author zhouhanwei
 * @create 2023/6/8 16:08
 */
@Data
public class UserPayUseCouponReqDTO {

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

    /**
     * 停车场id
     */
    @ApiModelProperty(value = "停车场id")
    private String parkingId;

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

    /**
     * 用户优惠券id
     */
    @ApiModelProperty(value = "用户优惠券id")
    private String couponRecordId;

    /**
     * 用户优惠券id
     */
    @ApiModelProperty(value = "平台用户ID")
    private Long userDetailId;
    /**
     * 账单列表
     */
    @ApiModelProperty(value = "账单列表")
    private List<OrderDetailData> orderDetailList;

    @Data
    public static class OrderDetailData {

        @ApiModelProperty(value = "账单类型（1-临停 2-月卡）")
        private Integer billType;

        @ApiModelProperty(value = "账单金额")
        private Long payCost;

        @ApiModelProperty(value = "对应业务账单ID")
        private String billId;
    }

}
