1
0
mirror of https://github.com/robonen/education-project.git synced 2026-03-20 19:04:31 +00:00
Files
education-project/app/Models/HeadTeacher.php

21 lines
323 B
PHP

<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class HeadTeacher extends Model
{
use HasFactory;
protected $fillable = [
'user_id',
];
public function user()
{
return $this->belongsTo(User::class);
}
}