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

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

import javax.validation.constraints.Max;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * @author cxj
 */
@Data
public class ParkingSettleBillByCouponVo {
    @ApiModelProperty(value = "优惠卷是否有匹配的账单0没有,1有")
    private Integer hasBill;


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

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

    @ApiModelProperty(name = "qrCodeId", value = "优惠券发放ID")
    private Long qrCodeId;

    @ApiModelProperty(name = "discountMode", value = "优惠方式(1:限免优惠 2:全免优惠)")
    private Integer discountMode;

    @ApiModelProperty(name = "couponAmount", value = "优惠券金额(单位分)")
    private Long couponAmount;

    @ApiModelProperty(name = "card", value = "使用的优惠卷")
    private PmgBatCouponCard card;


    @Data
    public static class ParkingBillVo extends PmgBatParkBill {

    }





}
