1
0
mirror of https://github.com/robonen/education-project.git synced 2026-03-20 02:44:31 +00:00
Files
education-project/app/Models/Parentt.php
Robonen Andrew 509562a76c Merge branch 'news' into journal
# Conflicts:
#	app/Http/Controllers/Users/TeacherController.php
2020-12-16 22:47:08 +07:00

23 lines
362 B
PHP

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