Beispiel #1
0
 public function getCity()
 {
     return $this->hasOne(Area::className(), ['id' => 'sellerCity']);
 }
Beispiel #2
0
 public function getPrev()
 {
     return $this->hasOne(Area::className(), ['id' => 'parentId']);
 }
 public function getArea()
 {
     return $this->hasOne(Area::className(), ['id' => 'areaId']);
 }