NotificationModule
extends Model
in package
implements
Entity
Uses
HasEntity, HasFactory
Class NotificationModule.
Table of Contents
Interfaces
- Entity
- Interface Entity.
Constants
- ENTITY_TYPE = 'notification_module'
Properties
- $channel : array<string|int, string>
- $id : int
- $is_active : bool
- $module_id : string
- $ordering : int
- $title : string
- $fillable : array<string|int, string>
- $table : mixed
Methods
- entityId() : int
- entityType() : string
- factory() : NotificationModuleFactory
- moduleName() : string
- types() : HasMany
- newFactory() : NotificationModuleFactory
Constants
ENTITY_TYPE
public
mixed
ENTITY_TYPE
= 'notification_module'
Properties
$channel
public
array<string|int, string>
$channel
$id
public
int
$id
$is_active
public
bool
$is_active
$module_id
public
string
$module_id
$ordering
public
int
$ordering
$title
public
string
$title
$fillable
protected
array<string|int, string>
$fillable
= ['title', 'module_id', 'is_active', 'channel', 'ordering']
$table
protected
mixed
$table
= 'notification_modules'
Methods
entityId()
public
entityId() : int
Return values
intentityType()
public
entityType() : string
Return values
stringfactory()
public
static factory(mixed $parameters) : NotificationModuleFactory
Parameters
- $parameters : mixed
Return values
NotificationModuleFactorymoduleName()
public
moduleName() : string
Return values
stringtypes()
public
types() : HasMany
Return values
HasManynewFactory()
protected
static newFactory() : NotificationModuleFactory