UserPrivacyResource
extends Model
in package
Uses
HasEntity, HasFactory
Class UserPrivacyResource.
Table of Contents
Constants
- ENTITY_TYPE = 'user_privacy_resource'
Properties
- $entity_type : string
- $id : int
- $phrase : string
- $privacy_default : int
- $timestamps : mixed
- $type_id : string
- $fillable : array<string|int, string>
- $table : mixed
Methods
- entityId() : int
- entityType() : string
- factory() : UserPrivacyResourceFactory
- moduleName() : string
Constants
ENTITY_TYPE
public
mixed
ENTITY_TYPE
= 'user_privacy_resource'
Properties
$entity_type
public
string
$entity_type
$id
public
int
$id
$phrase
public
string
$phrase
$privacy_default
public
int
$privacy_default
$timestamps
public
mixed
$timestamps
= false
$type_id
public
string
$type_id
$fillable
protected
array<string|int, string>
$fillable
= ['entity_type', 'type_id', 'phrase', 'privacy_default']
$table
protected
mixed
$table
= 'user_privacy_resources'
Methods
entityId()
public
entityId() : int
Return values
intentityType()
public
entityType() : string
Return values
stringfactory()
public
static factory([array<string, mixed> $parameters = [] ]) : UserPrivacyResourceFactory
Parameters
- $parameters : array<string, mixed> = []
Return values
UserPrivacyResourceFactorymoduleName()
public
moduleName() : string