ReportReason
extends Model
in package
implements
Entity
Uses
HasEntity, HasFactory, HasTranslatableAttributes
Class ReportReason.
Tags
Table of Contents
Interfaces
- Entity
- Interface Entity.
Constants
- ENTITY_TYPE = 'report_reason'
Properties
- $created_at : string
- $id : int
- $name : string
- $ordering : int
- $updated_at : string
- $fillable : array<string|int, string>
- $table : mixed
- $translatableAttributes : mixed
Methods
- entityId() : int
- entityType() : string
- factory() : ReportReasonFactory
- getNameAttribute() : string
- moduleName() : string
- newFactory() : ReportReasonFactory
Constants
ENTITY_TYPE
public
mixed
ENTITY_TYPE
= 'report_reason'
Properties
$created_at
public
string
$created_at
$id
public
int
$id
$name
public
string
$name
$ordering
public
int
$ordering
$updated_at
public
string
$updated_at
$fillable
protected
array<string|int, string>
$fillable
= ['name', 'ordering']
$table
protected
mixed
$table
= 'report_reasons'
$translatableAttributes
protected
mixed
$translatableAttributes
= ['name']
Methods
entityId()
public
entityId() : int
Return values
intentityType()
public
entityType() : string
Return values
stringfactory()
public
static factory(mixed $parameters) : ReportReasonFactory
Parameters
- $parameters : mixed
Return values
ReportReasonFactorygetNameAttribute()
public
getNameAttribute(string $value) : string
Parameters
- $value : string
Return values
stringmoduleName()
public
moduleName() : string
Return values
stringnewFactory()
protected
static newFactory() : ReportReasonFactory