27 lines
532 B
PHP
27 lines
532 B
PHP
<?php
|
|
|
|
namespace Modules\AboutUs\app\Models;
|
|
|
|
use Illuminate\Database\Eloquent\Model;
|
|
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
|
use Modules\AboutUs\Database\factories\AboutUsFactory;
|
|
|
|
class AboutUs extends Model
|
|
{
|
|
use HasFactory;
|
|
|
|
protected $table = 'about_us';
|
|
/**
|
|
* The attributes that are mass assignable.
|
|
*/
|
|
protected $fillable = [
|
|
'title',
|
|
'filename'
|
|
];
|
|
|
|
protected static function newFactory(): AboutUsFactory
|
|
{
|
|
//return AboutUsFactory::new();
|
|
}
|
|
}
|