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

import com.red.circle.other.app.dto.clientobject.GrabUserRedPacketResultCO;
import com.red.circle.other.app.dto.clientobject.UserRedPacketCO;
import com.red.circle.other.app.dto.cmd.GrabUserRedPacketCmd;
import com.red.circle.other.app.dto.cmd.QueryUserRedPacketDetailCmd;
import com.red.circle.other.app.dto.cmd.SendUserRedPacketCmd;

/**
 * 用户红包服务
 */
public interface UserRedPacketService {

    /**
     * 发送用户红包
     */
    UserRedPacketCO sendRedPacket(SendUserRedPacketCmd cmd);

    /**
     * 领取用户红包
     */
    GrabUserRedPacketResultCO grabRedPacket(GrabUserRedPacketCmd cmd);

    /**
     * 查询红包详情
     */
    UserRedPacketCO queryRedPacketDetail(QueryUserRedPacketDetailCmd cmd);
}
