package com.sonic.frog.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.sonic.frog.domain.entity.SignInRecord;
import com.sonic.frog.domain.entity.SignInStat;

/**
 * 签到明细表
 * @author zzhan
 */
public interface SignInRecordService extends IService<SignInRecord> {

    /**
     * 签到处理
     * @param currentUserId
     */
    Boolean signIn(Long currentUserId);

    /**
     * 签到数据初始化
     * @param currentUserId
     * @return
     */
    SignInStat init(Long currentUserId);

}
