package com.yc.ship.module.trade.api.dto;


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

import java.math.BigDecimal;
import java.util.List;

/**
 * @author qsl
 * @description todo
 * @date 2025/11/15 9:39
 */
@Schema(description = "规则验证")
@Data
public class RuleVerifyDTO {
    @Schema(description = "政策ID", example = "123")
    private Long marketingId;

    @Schema(description = "政策名字", example = "123")
    private String marketingName;

    @Schema(description = "产品id", example = "123")
    private Long productId;

    @Schema(description = "订单id", example = "123")
    private Long orderId;

    @Schema(description = "订单票数", example = "2")
    private Integer num;

    @Schema(description = "订单金额")
    private BigDecimal price;

    @Schema(description = "订单票数", example = "2")
    private List<RuleSpecDTO> ruleSpecNums;

    @Schema(description = "门店ID", example = "2")
    private Long storeId;
}
