ModuleSetting
extends Model
in package
implements
Entity
Uses
HasEntity, HasFactory
Class ModuleSetting.
Table of Contents
Interfaces
- Entity
- Interface Entity.
Constants
- ENTITY_TYPE = 'module_setting'
Properties
- $id : int
- $module_id : string
- $timestamps : mixed
- $user_id : int
- $user_value : int
- $casts : array<string, string>
- $fillable : array<string|int, string>
- $table : mixed
Methods
- entityId() : int
- entityType() : string
- factory() : ModuleSettingFactory
- moduleName() : string
- newFactory() : ModuleSettingFactory
Constants
ENTITY_TYPE
public
mixed
ENTITY_TYPE
= 'module_setting'
Properties
$id
public
int
$id
$module_id
public
string
$module_id
$timestamps
public
mixed
$timestamps
= false
$user_id
public
int
$user_id
$user_value
public
int
$user_value
$casts
protected
array<string, string>
$casts
= ['user_value' => 'array']
$fillable
protected
array<string|int, string>
$fillable
= ['user_id', 'user_type', 'module_id', 'user_value']
$table
protected
mixed
$table
= 'notification_module_settings'
Methods
entityId()
public
entityId() : int
Return values
intentityType()
public
entityType() : string
Return values
stringfactory()
public
static factory(mixed $parameters) : ModuleSettingFactory
Parameters
- $parameters : mixed
Return values
ModuleSettingFactorymoduleName()
public
moduleName() : string
Return values
stringnewFactory()
protected
static newFactory() : ModuleSettingFactory