mirror of
https://github.com/robonen/education-project.git
synced 2026-03-20 10:54:31 +00:00
15 lines
333 B
PHP
15 lines
333 B
PHP
<?php
|
|
|
|
namespace App\Models;
|
|
|
|
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
|
use Illuminate\Database\Eloquent\Model;
|
|
|
|
class News extends Model
|
|
{
|
|
use HasFactory;
|
|
protected $fillable = ['title', 'description', 'headteacher_id']; // убрать headteacher_id после добавления авторизации
|
|
|
|
}
|
|
|