package com.ruoyi.cai.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.cai.domain.UserVisitor;
import com.ruoyi.cai.dto.app.query.StarOrVisitorReq;
import com.ruoyi.cai.dto.app.query.VisitorQuery;
import com.ruoyi.cai.dto.app.vo.user.UserStarOrVisitorList;
import com.ruoyi.common.core.domain.PageQuery;

/**
 * 用户来访记录Service接口
 *
 * @author 77
 * @date 2023-12-24
 */
public interface UserVisitorService extends IService<UserVisitor> {

    boolean visitor(StarOrVisitorReq starOrVisitorReq);

    Page<UserStarOrVisitorList> pageApp(PageQuery pageQuery, VisitorQuery query);
}
