/** * @return \yii\db\ActiveQuery */ public function getActionProperty() { return $this->hasOne(CsActionProperties::className(), ['id' => 'action_property_id']); }
/** * @return \yii\db\ActiveQuery */ public function getActionProperties() { return $this->hasMany(CsActionProperties::className(), ['action_id' => 'id']); }