feat: create repositories
All checks were successful
All checks were successful
This commit is contained in:
parent
1878ed8fe4
commit
084d478cd9
2 changed files with 17 additions and 0 deletions
|
@ -0,0 +1,9 @@
|
||||||
|
package de.szut.casino.lootboxes;
|
||||||
|
|
||||||
|
import de.szut.casino.blackjack.BlackJackGameEntity;
|
||||||
|
import org.springframework.data.jpa.repository.JpaRepository;
|
||||||
|
import org.springframework.stereotype.Service;
|
||||||
|
|
||||||
|
@Service
|
||||||
|
public interface LootBoxRepository extends JpaRepository<LootBoxEntity, Long> {
|
||||||
|
}
|
|
@ -0,0 +1,8 @@
|
||||||
|
package de.szut.casino.lootboxes;
|
||||||
|
|
||||||
|
import org.springframework.data.jpa.repository.JpaRepository;
|
||||||
|
import org.springframework.stereotype.Service;
|
||||||
|
|
||||||
|
@Service
|
||||||
|
public interface RewardRepository extends JpaRepository<RewardEntity, Long> {
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue