package com.sonic.frog.service;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.service.IService;
import com.sonic.common.rpc.Page;
import com.sonic.frog.domain.entity.AiUserGift;
import com.sonic.frog.domain.input.AiUserGiftListInput;
import com.sonic.frog.domain.input.SendGiftInput;
import com.sonic.frog.domain.output.AiUserGiftListOutput;

/**
 * AI用户收到礼物业务接口
 */
public interface AiUserGiftService extends IService<AiUserGift> {

    /**
     * 获取AI用户礼物列表
     *
     * @param input
     * @return
     */
    Page<AiUserGiftListOutput> getAiUserGiftList(AiUserGiftListInput input);

    /**
     * 用户发送礼物
     *
     * @param currentUserId
     * @param input
     */
    void sendGift(Long currentUserId, SendGiftInput input);

}