mirror of https://github.com/hykilpikonna/AquaDX
[O] Ongeki: Refactor Game repos
parent
b4b70f7efe
commit
ff9ee24894
|
@ -0,0 +1,29 @@
|
|||
package icu.samnyan.aqua.sega.ongeki.dao.gamedata
|
||||
|
||||
import icu.samnyan.aqua.sega.ongeki.model.gamedata.*
|
||||
import org.springframework.data.jpa.repository.JpaRepository
|
||||
import org.springframework.stereotype.Repository
|
||||
|
||||
@Repository("OngekiGameCardRepository")
|
||||
interface GameCardRepository : JpaRepository<GameCard, Long>
|
||||
|
||||
@Repository("OngekiGameCharaRepository")
|
||||
interface GameCharaRepository : JpaRepository<GameChara, Long>
|
||||
|
||||
@Repository("OngekiGameEventRepository")
|
||||
interface GameEventRepository : JpaRepository<GameEvent, Long>
|
||||
|
||||
@Repository("OngekiGameMusicRepository")
|
||||
interface GameMusicRepository : JpaRepository<GameMusic, Long>
|
||||
|
||||
@Repository("OngekiGamePointRepository")
|
||||
interface GamePointRepository : JpaRepository<GamePoint, Long>
|
||||
|
||||
@Repository("OngekiGamePresentRepository")
|
||||
interface GamePresentRepository : JpaRepository<GamePresent, Long>
|
||||
|
||||
@Repository("OngekiGameRewardRepository")
|
||||
interface GameRewardRepository : JpaRepository<GameReward, Long>
|
||||
|
||||
@Repository("OngekiGameSkillRepository")
|
||||
interface GameSkillRepository : JpaRepository<GameSkill, Long>
|
|
@ -1,12 +0,0 @@
|
|||
package icu.samnyan.aqua.sega.ongeki.dao.gamedata;
|
||||
|
||||
import icu.samnyan.aqua.sega.ongeki.model.gamedata.GameCard;
|
||||
import org.springframework.data.jpa.repository.JpaRepository;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* @author samnyan (privateamusement@protonmail.com)
|
||||
*/
|
||||
@Repository("OngekiGameCardRepository")
|
||||
public interface GameCardRepository extends JpaRepository<GameCard, Long> {
|
||||
}
|
|
@ -1,12 +0,0 @@
|
|||
package icu.samnyan.aqua.sega.ongeki.dao.gamedata;
|
||||
|
||||
import icu.samnyan.aqua.sega.ongeki.model.gamedata.GameChara;
|
||||
import org.springframework.data.jpa.repository.JpaRepository;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* @author samnyan (privateamusement@protonmail.com)
|
||||
*/
|
||||
@Repository("OngekiGameCharaRepository")
|
||||
public interface GameCharaRepository extends JpaRepository<GameChara, Long> {
|
||||
}
|
|
@ -1,12 +0,0 @@
|
|||
package icu.samnyan.aqua.sega.ongeki.dao.gamedata;
|
||||
|
||||
import icu.samnyan.aqua.sega.ongeki.model.gamedata.GameEvent;
|
||||
import org.springframework.data.jpa.repository.JpaRepository;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* @author samnyan (privateamusement@protonmail.com)
|
||||
*/
|
||||
@Repository("OngekiGameEventRepository")
|
||||
public interface GameEventRepository extends JpaRepository<GameEvent, Long> {
|
||||
}
|
|
@ -1,12 +0,0 @@
|
|||
package icu.samnyan.aqua.sega.ongeki.dao.gamedata;
|
||||
|
||||
import icu.samnyan.aqua.sega.ongeki.model.gamedata.GameMusic;
|
||||
import org.springframework.data.jpa.repository.JpaRepository;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* @author samnyan (privateamusement@protonmail.com)
|
||||
*/
|
||||
@Repository("OngekiGameMusicRepository")
|
||||
public interface GameMusicRepository extends JpaRepository<GameMusic, Long> {
|
||||
}
|
|
@ -1,12 +0,0 @@
|
|||
package icu.samnyan.aqua.sega.ongeki.dao.gamedata;
|
||||
|
||||
import icu.samnyan.aqua.sega.ongeki.model.gamedata.GamePoint;
|
||||
import org.springframework.data.jpa.repository.JpaRepository;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* @author samnyan (privateamusement@protonmail.com)
|
||||
*/
|
||||
@Repository("OngekiGamePointRepository")
|
||||
public interface GamePointRepository extends JpaRepository<GamePoint, Long> {
|
||||
}
|
|
@ -1,12 +0,0 @@
|
|||
package icu.samnyan.aqua.sega.ongeki.dao.gamedata;
|
||||
|
||||
import icu.samnyan.aqua.sega.ongeki.model.gamedata.GamePresent;
|
||||
import org.springframework.data.jpa.repository.JpaRepository;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* @author samnyan (privateamusement@protonmail.com)
|
||||
*/
|
||||
@Repository("OngekiGamePresentRepository")
|
||||
public interface GamePresentRepository extends JpaRepository<GamePresent, Long> {
|
||||
}
|
|
@ -1,12 +0,0 @@
|
|||
package icu.samnyan.aqua.sega.ongeki.dao.gamedata;
|
||||
|
||||
import icu.samnyan.aqua.sega.ongeki.model.gamedata.GameReward;
|
||||
import org.springframework.data.jpa.repository.JpaRepository;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* @author samnyan (privateamusement@protonmail.com)
|
||||
*/
|
||||
@Repository("OngekiGameRewardRepository")
|
||||
public interface GameRewardRepository extends JpaRepository<GameReward, Long> {
|
||||
}
|
|
@ -1,12 +0,0 @@
|
|||
package icu.samnyan.aqua.sega.ongeki.dao.gamedata;
|
||||
|
||||
import icu.samnyan.aqua.sega.ongeki.model.gamedata.GameSkill;
|
||||
import org.springframework.data.jpa.repository.JpaRepository;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* @author samnyan (privateamusement@protonmail.com)
|
||||
*/
|
||||
@Repository("OngekiGameSkillRepository")
|
||||
public interface GameSkillRepository extends JpaRepository<GameSkill, Long> {
|
||||
}
|
Loading…
Reference in New Issue