35 lines
623 B
PHP
35 lines
623 B
PHP
<?php
|
|
|
|
namespace Modules\Setting\app\Models;
|
|
|
|
use Illuminate\Database\Eloquent\Model;
|
|
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
|
use Modules\Setting\Database\factories\SettingFactory;
|
|
|
|
class Setting extends Model
|
|
{
|
|
use HasFactory;
|
|
/**
|
|
* The attributes that are mass assignable.
|
|
*/
|
|
protected $fillable = [
|
|
'uuid',
|
|
'setting_name',
|
|
'name',
|
|
'detail',
|
|
'status',
|
|
|
|
];
|
|
|
|
// protected static function newFactory(): SettingFactory
|
|
// {
|
|
// //return SettingFactory::new();
|
|
// }
|
|
|
|
|
|
/**
|
|
* Function to get full image path
|
|
*/
|
|
|
|
}
|