Exemplo n.º 1
0
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getIssues()
 {
     return $this->hasMany(CsObjectIssues::className(), ['object_id' => 'id']);
 }
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getObjectIssue()
 {
     return $this->hasOne(CsObjectIssues::className(), ['id' => 'object_issue_id']);
 }