use of gov.ca.cwds.data.legacy.cms.entity.SubstituteCareProviderUc in project api-core by ca-cwds.
the class SubstituteCareProviderCoreService method buildSubstituteCareProviderUc.
private SubstituteCareProviderUc buildSubstituteCareProviderUc(SubstituteCareProvider substituteCareProvider) {
SubstituteCareProviderUc substituteCareProviderUc = new SubstituteCareProviderUc();
substituteCareProviderUc.setPksbPvdrt(substituteCareProvider.getIdentifier());
substituteCareProviderUc.setCaDlicNo(upperCase(substituteCareProvider.getCaDlicNo()));
substituteCareProviderUc.setFirstNm(upperCase(substituteCareProvider.getFirstNm()));
substituteCareProviderUc.setLastNm(upperCase(substituteCareProvider.getLastNm()));
substituteCareProviderUc.setLstUpdId(getStaffPersonId());
substituteCareProviderUc.setLstUpdTs(LocalDateTime.now());
return substituteCareProviderUc;
}
Aggregations