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

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import javax.validation.constraints.*;
import java.math.BigDecimal;

@Schema(description = "管理后台 - 活动代金券新增/修改 Request VO")
@Data
public class ActivityVoucherSaveReqVO {

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

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

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

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

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

}