package com.cyksj.service.claude;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.service.IService;
import com.cyksj.model.entity.Announcement;

import java.util.Date;
import java.util.List;

/**
 * @author chan
 * @date 2025/8/11 18:03
 */
public interface AnnouncementService extends IService<Announcement> {
    /**
     * 获取有效公告列表
     */
    List<Announcement> getActiveAnnouncements(String language);

    /**
     * 创建公告
     */
    void createAnnouncement(Announcement announcement);

    /**
     * 更新公告
     */
    void updateAnnouncement(Announcement announcement);

    /**
     * 删除公告
     */
    void deleteAnnouncement(Long id);

}
