Add ShopDao

This commit is contained in:
P0nk
2023-03-17 21:28:23 +01:00
parent ab0239ba84
commit a496c0f2b4
4 changed files with 57 additions and 1 deletions

View File

@@ -6,6 +6,7 @@ import database.maker.MakerIngredientRowMapper;
import database.maker.MakerReagentRowMapper;
import database.maker.MakerRecipeRowMapper;
import database.note.NoteRowMapper;
import database.shop.ShopItemRowMapper;
import org.jdbi.v3.core.Jdbi;
import javax.sql.DataSource;
@@ -20,6 +21,7 @@ public final class JdbiConfig {
.registerRowMapper(new MakerRecipeRowMapper())
.registerRowMapper(new MakerIngredientRowMapper())
.registerRowMapper(new MonsterDropRowMapper())
.registerRowMapper(new GlobalMonsterDropRowMapper());
.registerRowMapper(new GlobalMonsterDropRowMapper())
.registerRowMapper(new ShopItemRowMapper());
}
}