package com.rj.dto;

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

/**
 * 抢购请求：按 {@code total_money} 从大到小选取货品，调用 hxrd {@code /api/order/buy}。
 */
@Data
@Schema(description = "LB 货品抢购请求")
public class LbGoodsRushBuyRequest {

    @Schema(description = "hxrd 接口请求头 token；未传时使用 hxr.admin.goods-api-token")
    private String token;

    @Schema(description = "最多成功抢购笔数（达到后停止继续请求）", requiredMode = Schema.RequiredMode.REQUIRED)
    private Integer maxBuyCount;
}
