package com.cpop.mall.framework.strategy.buyRestrict;

import com.cpop.mall.business.entity.Product;

import java.util.Map;

/**
 * 购买策略接口
 */
public interface BuyRestrictStrategy {

    /**
     * @descriptions 购买限制
     * @author DB
     * @date 2023/11/06 15:21
     * @return: void
     */
    void buyRestrict(Product product, Map<String, Integer> recordNumIsEnough);
}
