MetaFox

UserGender extends Model
in package
implements Entity Uses HasEntity, HasTranslatableAttributes

Class UserGender.

Tags
mixin

Builder

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

$casts

protected mixed $casts = ['is_custom' => 'boolean']

$fillable

protected array<string|int, string> $fillable = ['phrase', 'name', 'is_custom', 'updated_at']

$translatableAttributes

protected mixed $translatableAttributes = ['phrase']

Methods

entityId()

public entityId() : int
Return values
int

entityType()

public entityType() : string
Return values
string

getNameAttribute()

public getNameAttribute() : string
Return values
string

moduleName()

public moduleName() : string
Return values
string

        
On this page

Search results