package shop.alien.store.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import shop.alien.entity.store.ActivitySignInConfig;
import shop.alien.entity.store.UserSignInRecord;
import shop.alien.entity.store.vo.SignInVo;
import shop.alien.entity.store.vo.UserSignInRecordVo;

public interface SignInService extends IService<UserSignInRecord> {

    UserSignInRecordVo signIn(int userId);

    ActivitySignInConfig getActivitySignInConfigInfo();

    boolean checkSignInStatus(int userId);

    SignInVo getUserSignInInfo(int userId, int num);

    IPage<UserSignInRecord> getUserSignInRecordList(int pageNum, int pageSize, int userId);
}
