<?php

namespace App\Service\Campaign;

use App\Entity\Campaign\Notice;

interface NoticeRepositoryInterface
{
    /**
     * @param int $id
     *
     * @return Notice
     */
    public function findById(int $id): ?Notice;

    /**
     * @param Notice $notice
     */
    public function save(Notice $notice): void;

    /**
     * @param Notice $notice
     */
    public function delete(Notice $notice): void;

    public function moveNoticesBetweenUsers(int $from, int $to);
}
