28 lines
644 B
PHP
28 lines
644 B
PHP
<?php declare(strict_types=1);
|
|
|
|
namespace App\Models;
|
|
|
|
use App\Contracts\Models\Storage as StorageContract;
|
|
use App\Models\Traits\StorageTrait;
|
|
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
|
use Illuminate\Database\Eloquent\Model;
|
|
use Illuminate\Database\Eloquent\SoftDeletes;
|
|
|
|
final class DocumentationContent extends Model implements StorageContract
|
|
{
|
|
use HasFactory, SoftDeletes, StorageTrait;
|
|
|
|
protected $table = 'documentation_content';
|
|
|
|
/**
|
|
* The attributes that are mass assignable.
|
|
*
|
|
* @var array
|
|
*/
|
|
protected $fillable = [
|
|
'title',
|
|
'content',
|
|
'language_id',
|
|
];
|
|
}
|