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

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.nest.springwrap.core.mp.base.BaseEntity;

import java.util.Date;

/**
 * @Author 蔡文强
 * @Date 2023/5/25 15:56
 * @Description 优惠卡或者优惠活动二维码
 */
@Data
public class PmgBatCouponQrCode extends BaseEntity {

    @ApiModelProperty(name = "userDetailId", value = "用户ID")
    private Long userDetailId;

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

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

    @ApiModelProperty(name = "distributeCount", value = "已发优惠券数量")
    private Integer distributeCount;

    @ApiModelProperty(name = "expireTime", value = "二维码过期时间")
    private Date expireTime;
}
