'ID', 'mark_id' => 'Mark ID', 'entity_type' => 'Entity Type', 'entity_id' => 'Entity ID', ]; } /** * @return \yii\db\ActiveQuery */ public function getMark(): \yii\db\ActiveQuery { return $this->hasOne(Mark::class, ['id' => 'mark_id']); } }