コード例 #1
0
ファイル: Complainant.php プロジェクト: hammadhk/cda_proto
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getSector()
 {
     return $this->hasOne(Sector::className(), ['id' => 'address_sector_id']);
 }