package com.quinn.service;

import com.quinn.common.Category;
import com.quinn.pojo.Star;
import com.baomidou.mybatisplus.extension.service.IService;
import com.quinn.pojo.StarWithTopic;
import com.quinn.vo.MyPageParam;
import com.quinn.vo.StarValue;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author limqsh
 * @since 2022-05-08
 */
public interface StarService extends IService<Star> {

    StarValue starTopic(String topicId, String userId, Category category);

    StarValue isStar(String topicId, String userId, Category category);

    List<StarWithTopic> listStars(String userId, MyPageParam myPageParam);

}
