Slide 56
Slide 56 text
// σʔλͷऔಘ
val serviceSection = serviceSectionRepository.findBy(sectionNumber)
val insuranceLicense = insuranceLicenseRepository.findBy(licenseNumber, monthProvided)
val actualResult = actualResultRepository.findBy(monthProvided, sectionNumber, licenseNumber)
// Ϟσϧͷੜ
val estimate = Estimate(insuranceLicense, serviceSection, actualResult)
// ใͷఏڙ
estimate.amount() // ߹ܭֹۚ
estimate.benefitAmount() // อݥڅֹۚ
estimate.careReceiverAmount() // ར༻ऀෛ୲ֹ
estimate.amountBy(careType) // αʔϏεछྨ͝ͱͷֹۚ
#ccc_e4 56