Blame view

app/Models/News.php 281 Bytes
bdd23ce34   Андрей Ларионов   На сервер. Правки
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
  <?php
  
  namespace App\Models;
  
  use Illuminate\Database\Eloquent\Factories\HasFactory;
  use Illuminate\Database\Eloquent\Model;
  
  class News extends Model
  {
      use HasFactory;
  
      public $table = 'news';
  
      protected $fillable = [
          'title', 'image', 'text', 'slug'
      ];
  }