class SummaryViewModelPopulator extends AbstractPublicContentGroupViewModelPopulator<SummaryViewModel> {

    @Override
    protected void populateSection(SummaryViewModel model, PublicContentItemResource publicContentItemResource, PublicContentSectionResource section, Boolean nonIFS) {
        PublicContentResource publicContentResource = publicContentItemResource.getPublicContentResource();
        model.setDescription(publicContentResource.getSummary());
        model.setFundingType(publicContentItemResource.getFundingType().getDisplayName());
        model.setProjectSize(publicContentResource.getProjectSize());
        super.populateSection(model, publicContentItemResource, section, nonIFS);
    }

}