protected function populate(int $notification_id, &$notification)
 {
     if (!isset($notification_id) || $notification_id < 1) {
         $notification_id = $this->unmarshal($this->db->f('notification_id', true), 'int');
     }
     $notification = new rental_notification($notification_id, $this->unmarshal($this->db->f('account_id', true), 'int'), $this->unmarshal($this->db->f('location_id', true), 'int'), $this->unmarshal($this->db->f('contract_id', true), 'int'), $this->unmarshal($this->db->f('date', true), 'int'), $this->unmarshal($this->db->f('message', true), 'text'), $this->unmarshal($this->db->f('recurrence', true), 'int'), $this->unmarshal($this->db->f('last_notified', true), 'int'), $this->unmarshal($this->db->f('title', true), 'string'), $this->unmarshal($this->db->f('originated_from', true), 'int'));
     $notification->set_field_of_responsibility_id($this->db->f('location_id', true), 'int');
     return $notification;
 }