Search in sources :

Example 1 with SubstituteCareProviderUc

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;
}
Also used : SubstituteCareProviderUc(gov.ca.cwds.data.legacy.cms.entity.SubstituteCareProviderUc)

Aggregations

SubstituteCareProviderUc (gov.ca.cwds.data.legacy.cms.entity.SubstituteCareProviderUc)1