applicant-site/app/Models/News.php

20 lines
296 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 = [
'id',
'name',
'text',
'photo',
'created_at',
];
}