class PunishmentDataRepository {

    public Optional<PunishmentData> findPunishmentData(UUID uuid) {
        return ebeanServer.createQuery(PunishmentData.class)
                .fetch("activePunishments")
                .setId(uuid)
                .findOneOrEmpty();
    }

}