/** * @inheritdoc */ public function attributes() { return array_merge(parent::attributes(), ['department.name', 'chief.Name']); }