package com.red.circle.other.app.service;

import com.red.circle.other.app.dto.clientobject.GrabRoomRedPacketResultCO;
import com.red.circle.other.app.dto.clientobject.RoomRedPacketCO;
import com.red.circle.other.app.dto.clientobject.RoomRedPacketDetailCO;
import com.red.circle.other.app.dto.cmd.GrabRoomRedPacketCmd;
import com.red.circle.other.app.dto.cmd.QueryRoomRedPacketDetailCmd;
import com.red.circle.other.app.dto.cmd.QueryRoomRedPacketListCmd;
import com.red.circle.other.app.dto.cmd.SendRoomRedPacketCmd;

import java.util.List;

/**
 * 房间红包服务接口
 */
public interface RoomRedPacketService {

    /**
     * 发送红包
     */
    RoomRedPacketCO sendRedPacket(SendRoomRedPacketCmd cmd);

    /**
     * 发送平台红包
     */
    RoomRedPacketCO sendPlatformRedPacket(SendRoomRedPacketCmd cmd);

    /**
     * 抢红包
     */
    GrabRoomRedPacketResultCO grabRedPacket(GrabRoomRedPacketCmd cmd);

    /**
     * 查询房间红包列表
     */
    List<RoomRedPacketCO> queryRoomRedPacketList(QueryRoomRedPacketListCmd cmd);

    /**
     * 查询红包详情
     */
    RoomRedPacketDetailCO queryRedPacketDetail(QueryRoomRedPacketDetailCmd cmd);
}
