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

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

/**
 * @Author 蔡文强
 * @Date 2023/5/25 15:56
 * @Description 优惠券扫描信息
 */
@Data
public class PmgBatCouponRecordScanVO {

    @ApiModelProperty(name = "couponId", value = "优惠卡ID或者优惠活动ID")
    private Long couponId;

    @ApiModelProperty(name = "couponType", value = "优惠券类型(1:优惠卡 2:优惠活动)")
    private Integer couponType;

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

    @ApiModelProperty(name = "couponName", value = "优惠券名称")
    private String couponName;

    @ApiModelProperty(name = "discountItems", value = "优惠适用费项(1:临停费用 2:月卡充值 3:错时充值 4:管理费),多选,逗号隔开")
    private String discountItems;

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

    @ApiModelProperty(name = "suitCondition", value = "适用条件(1:满xx元可使用 2:无门槛使用(若优惠金额大于产品金额，则该产品价格为免费))")
    private Integer suitCondition;

    @ApiModelProperty(name = "conditionAmount", value = "满xx元可使用(单位分)")
    private Integer conditionAmount;


    //券有效期：自领取之日1日内有效
    @ApiModelProperty(name = "couponValidityType", value = "券有效期类型(1:领取后,第xx天内有效->提示:领取后,若优惠卡失效,优惠券未使用的话也同步失效 2:无时间限制)")
    private Integer couponValidityType;

    @ApiModelProperty(name = "days", value = "领取后，第xx天内有效")
    private Integer days;

    //使用范围：厦门火炬广场地面停车场
    @ApiModelProperty(name = "parkingNames", value = "适用范围(停车场名称,多个逗号隔开)")
    private String parkingNames;

    //使用说明：限用1次，最高优惠额度不超过券面额度，
    @ApiModelProperty(name = "instruction", value = "券适用说明")
    private String instruction;

    @ApiModelProperty(name = "qrCodeStatus", value = "二维码状态(1:有效 2:已失效)")
    private Integer qrCodeStatus;

}
