package com.td.boss.game.complayersattri.repository;

import com.td.boss.common.repository.CommonRepository;
import com.td.boss.game.complayersattri.pojo.ComPlayersLucky;
import org.springframework.stereotype.Repository;

import java.util.Optional;

@Repository
public interface ComPlayersLuckyRepository extends CommonRepository<ComPlayersLucky, Integer> {
    Optional<ComPlayersLucky> findFirstByUserIdOrderByCreateTimeDesc(String userId);
}
