class FinanceCheckSummaryResource {

    public boolean isAllEligibilityAndViabilityInReview() {
        return partnerStatusResources
                .stream()
                .allMatch(partner ->
                        partner.getViability().isInReviewOrNotApplicable() && partner.getEligibility().isInReviewOrNotApplicable());
    }

    public  FinanceCheckSummaryResource();
    public  FinanceCheckSummaryResource(FinanceCheckOverviewResource overviewResource, Long competitionId, String competitionName, boolean spendProfilesGenerated,
                                       List<FinanceCheckPartnerStatusResource> partnerStatusResources, boolean bankDetailsApproved,
                                       String spendProfileGeneratedBy, LocalDate spendProfileGeneratedDate, Long applicationId, boolean h2020, FundingType fundingType, boolean hasGrantClaimPercentage);

}