Esempio n. 1
0
 /**
  * @param ZonePlan $zonePlan
  * @return ZonePlanRegisterDTO
  */
 public function toZonePlanRegisterDTO(ZonePlan $zonePlan)
 {
     $zonePlanDTO = new ZonePlanRegisterDTO();
     $zonePlanDTO->id = $zonePlan->getId();
     $zonePlanDTO->city = $zonePlan->getCity();
     $zonePlanDTO->postalCode = $zonePlan->getPostalCode();
     $zonePlanDTO->memo = $zonePlan->getMemo();
     $zonePlanDTO->abbreviation = $zonePlan->getAbbreviation();
     $zonePlanDTO->zone = $zonePlan->getZone();
     return $zonePlanDTO;
 }