/** * @return \yii\db\ActiveQuery */ public function getObjectPropertyValues() { return $this->hasMany(CsObjectPropertyValues::className(), ['object_id' => 'id']); }
/** * @return \yii\db\ActiveQuery */ public function getObjectPropertyValue() { return $this->hasOne(CsObjectPropertyValues::className(), ['id' => 'object_property_value_id']); }