class FinanceModelPopulator implements CompetitionSetupSubsectionModelPopulator {

    @Override
	public CompetitionSetupSubsectionViewModel populateModel(CompetitionResource competitionResource, Optional<Long> objectId) {
        return new FinanceViewModel(
                competitionResource.isNonFinanceType(), competitionResource.isKtp()
        );
    }

}