package cn.iocoder.yudao.module.member.controller.admin.activityvoucher.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import java.util.*;
import java.math.BigDecimal;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;
import com.alibaba.excel.annotation.*;

@Schema(description = "管理后台 - 活动代金券 Response VO")
@Data
@ExcelIgnoreUnannotated
public class ActivityVoucherRespVO {

    @Schema(description = "编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "21748")
    @ExcelProperty("编号")
    private Long id;

    @Schema(description = "代金券名字", example = "张三")
    @ExcelProperty("代金券名字")
    private String name;

    @Schema(description = "类型 1-折扣，2-抵扣", example = "2")
    @ExcelProperty("类型 1-折扣，2-抵扣")
    private String type;

    @Schema(description = "数值")
    @ExcelProperty("数值")
    private BigDecimal num;

    @Schema(description = "使用次数")
    @ExcelProperty("使用次数")
    private Integer limitNum;

    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

}