package com.yc.ship.module.marketing.api.coupon.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.math.BigDecimal;

@Schema(description = "RPC 服务 - 优惠券 Response DTO")
@Data
public class CouponUsedRespDto {
    @Schema(description = "优惠券名称", example = "张三")
    private String name;

    @Schema(description = "优惠券类型", example = "1")
    private Integer type;

    @Schema(description = "门槛费（满减的满金额）")
    private BigDecimal basic;

    @Schema(description = "金额，折扣")
    private BigDecimal quota;

    @Schema(description = "最大减免")
    private BigDecimal maximum;

    @Schema(description = "优惠金额")
    private BigDecimal amount;

    @Schema(description = "优惠券码ID")
    private Long couponCodeId;
}
