package com.yc.ship.module.marketing.controller.admin.couponpackagecode.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;

@Schema(description = "管理后台 - 优惠券-券包领取码 Response VO")
@Data
@ExcelIgnoreUnannotated
public class CouponPackageCodeRespVO {

    @Schema(description = "ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "9926")
    @ExcelProperty("兑换码")
    private Long id;

    @Schema(description = "券包ID", example = "3189")
    private Long packageId;
    @Schema(description = "优惠券名称")
    @ExcelProperty("优惠券名称")
    private String couponName;
    @Schema(description = "券包名称")
    @ExcelProperty("券包名称")
    private String packageName;

    @Schema(description = "优惠券ID", example = "9136")
    private Long couponId;

    @Schema(description = "领取二维码")
    @ExcelProperty("领取二维码")
    private String qrCode;

    @Schema(description = "剩余领取次数")
    @ExcelProperty("剩余领取次数")
    private Integer surplusTimes;

    @Schema(description = "创建时间")
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

}