package com.red.circle.other.infra.database.rds.service.family;

import com.red.circle.framework.mybatis.service.BaseService;
import com.red.circle.other.infra.database.rds.entity.family.FamilyBoxUserReward;
import java.time.LocalDate;
import java.util.List;

/**
 * 用户宝箱领取记录 服务类.
 */
public interface FamilyBoxUserRewardService extends BaseService<FamilyBoxUserReward> {

  Boolean hasClaimed(Long familyId, Long userId, LocalDate boxDate, Integer level);

  List<FamilyBoxUserReward> listByUserAndDate(Long familyId, Long userId, LocalDate boxDate);
}
