Exemple #1
0
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getProjectStatus()
 {
     return $this->hasOne(RefProjectStatus::className(), ['id' => 'project_status_id']);
 }
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getRefProjectStatuses()
 {
     return $this->hasMany(RefProjectStatus::className(), ['status_id' => 'id']);
 }