Пример #1
0
 public function getPartner()
 {
     return $this->hasMany(Partner::className(), ['id' => 'parentId']);
 }