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

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

import java.util.Date;

/**
 * @Author 蔡文强
 * @Date 2023/5/25 15:56
 * @Description 优惠券发放结果返回信息
 */
@Data
public class PmgBatMyAppCouponRecordVO {

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

    @ApiModelProperty(name = "discountType", value = "优惠类型(1:智慧停车 2:智慧充电 3:平台通用)")
    private Integer discountType;

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

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

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

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

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

    @ApiModelProperty(name = "parkingNames", value = "适用范围(停车场名称,多个逗号隔开)")
    private String parkingNames;

    @ApiModelProperty(name = "cardValidityType", value = "卡有效期类型(1:指定时间 2:无时间限制)")
    private Integer cardValidityType;

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

    @ApiModelProperty(name = "startDate", value = "优惠券有效期开始日期")
    private Date startDate;

    @ApiModelProperty(name = "endDate", value = "优惠券有效期结束日期")
    private Date endDate;

    @ApiModelProperty(name = "receiveTime", value = "优惠券领取时间")
    private Date receiveTime;

    @ApiModelProperty(name = "useTime", value = "优惠券使用时间")
    private Date useTime;
    @ApiModelProperty(name = "usePeople", value = "使用对象(手机号或者车牌号)")
    private String usePeople;

    @ApiModelProperty(name = "instruction", value = "券适用说明")
    private String instruction;

    @ApiModelProperty(name = "useStatus", value = "使用状态(1:未使用 2:已使用 3:已过期)")
    private Integer useStatus;

}
