'hashed', ]; /** * Get the groups for the teacher. */ public function groups(): HasMany { return $this->hasMany(Group::class); } /** * Get the lessons for the teacher. */ public function lessons(): HasMany { return $this->hasMany(Lesson::class); } }