fix: add hidden attributes for serialization in models and update contact method in Company model

This commit is contained in:
2025-11-06 15:54:54 +01:00
parent cd7e39eccb
commit 6eadf3a944
5 changed files with 92 additions and 1 deletions

View File

@@ -21,4 +21,14 @@ class StudentData extends Model
'personal_email',
'study_field',
];
/**
* The attributes that should be hidden for serialization.
*
* @var list<string>
*/
protected $hidden = [
'created_at',
'updated_at',
];
}