Refactor Filament resources and models; add attribute casting in Group model, update navigation icons, and remove TeacherSeeder in favor of UserTableSeeder.
This commit is contained in:
@@ -7,6 +7,14 @@ use Illuminate\Database\Eloquent\Model;
|
||||
use Illuminate\Database\Eloquent\Relations\BelongsToMany;
|
||||
use Illuminate\Database\Eloquent\Relations\HasMany;
|
||||
|
||||
/**
|
||||
* @property int $id
|
||||
* @property string $name
|
||||
* @property string $photo
|
||||
* @property string $bio
|
||||
* @property Carbon $created_at
|
||||
* @property Carbon $updated_at
|
||||
*/
|
||||
class Teacher extends Model
|
||||
{
|
||||
/** @use HasFactory<\Database\Factories\TeacherFactory> */
|
||||
|
||||
Reference in New Issue
Block a user