package com.sqx.modules.myCollection.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.sqx.common.utils.Result;
import com.sqx.modules.app.vo.ResumesBrowseVo;
import com.sqx.modules.app.vo.UserPostPushBrowseVo;
import com.sqx.modules.myCollection.entity.MyCollection;
import com.baomidou.mybatisplus.extension.service.IService;
import com.sqx.modules.resumes.entity.PostPush;
import com.sqx.modules.resumes.entity.Resumes;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author www.javacoder.top
 * @since 2023-01-17
 */
public interface MyCollectionService extends IService<MyCollection> {

    Result saveCollection(MyCollection collection);

    IPage<UserPostPushBrowseVo> getMyCollectionListV2(Integer page, Integer limit, MyCollection collection, PostPush postPush);

    IPage<MyCollection> getMyCollectionList(Integer page, Integer limit, MyCollection collection);

    IPage<MyCollection> getCompanyCollectionList(Integer page, Integer limit, MyCollection collection, Resumes resumes,Long userId);
}
