'ID', ]; } public function getProducer(): ActiveQuery { return $this->hasOne(Producer::class, ['id' => 'id_producer']); } public function populateProducer(Producer $producer): void { $this->populateFieldObject('id_producer', 'producer', $producer); } public function getFeature(): ActiveQuery { return $this->hasOne(Feature::class, ['id' => 'id_feature']); } public function populateFeature(Feature $feature): void { $this->populateFieldObject('id_feature', 'feature', $feature); } }