UserGender
extends Model
in package
implements
Entity
Uses
HasEntity, HasTranslatableAttributes
Class UserGender.
Tags
Table of Contents
Interfaces
- Entity
- Interface Entity.
Constants
- ENTITY_TYPE = 'user_gender'
Properties
- $created_at : string
- $id : int
- $is_custom : bool
- $name : string
- $phrase : string
- $updated_at : string
- $casts : mixed
- $fillable : array<string|int, string>
- $table : mixed
- $translatableAttributes : mixed
Methods
- entityId() : int
- entityType() : string
- getNameAttribute() : string
- moduleName() : string
Constants
ENTITY_TYPE
public
mixed
ENTITY_TYPE
= 'user_gender'
Properties
$created_at
public
string
$created_at
$id
public
int
$id
$is_custom
public
bool
$is_custom
$name
public
string
$name
$phrase
public
string
$phrase
$updated_at
public
string
$updated_at
$casts
protected
mixed
$casts
= ['is_custom' => 'boolean']
$fillable
protected
array<string|int, string>
$fillable
= ['phrase', 'name', 'is_custom', 'updated_at']
$table
protected
mixed
$table
= 'user_gender'
$translatableAttributes
protected
mixed
$translatableAttributes
= ['phrase']
Methods
entityId()
public
entityId() : int
Return values
intentityType()
public
entityType() : string
Return values
stringgetNameAttribute()
public
getNameAttribute() : string
Return values
stringmoduleName()
public
moduleName() : string