public function getDelivery() { return $this->hasOne(tAddress::className(), ['id' => 'idDelivery']); }