package com.njcn.msgpush.module.push.checker.impl;

import com.njcn.msgpush.module.push.checker.IChecker;
import com.njcn.msgpush.module.push.controller.admin.message.vo.MessageRecordReqVO;
import com.njcn.msgpush.module.push.dal.dataobject.message.MessageRecordDO;
import com.njcn.msgpush.module.push.service.quota.SystemQuotaConfigService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * @author caozehui
 * @data 2026-02-27
 * @description 系统配额检查器
 */
@Component
public class QuotaChecker implements IChecker {

    @Autowired
    private SystemQuotaConfigService systemQuotaConfigService;

    @Override
    public void check(List<MessageRecordDO> messageRecordList) {
        systemQuotaConfigService.check(messageRecordList);
    }
}
