MetaFox

UserPromotion extends Model
in package
implements Entity Uses HasEntity, HasFactory

Class UserPromotion.

Table of Contents

Interfaces

Entity
Interface Entity.

Constants

ENTITY_TYPE  = 'user_promotion'

Properties

$id  : int
$fillable  : array<string|int, string>
$table  : mixed

Methods

entityId()  : int
entityType()  : string
factory()  : UserPromotionFactory
moduleName()  : string
newFactory()  : UserPromotionFactory

Constants

Properties

$fillable

protected array<string|int, string> $fillable = ['is_active', 'user_group_id', 'upgrade_user_group_id', 'total_activity', 'total_day', 'updated_at', 'created_at']

Methods

entityId()

public entityId() : int
Return values
int

entityType()

public entityType() : string
Return values
string

factory()

public factory(mixed $parameters) : UserPromotionFactory
Parameters
$parameters : mixed
Return values
UserPromotionFactory

moduleName()

public moduleName() : string
Return values
string

newFactory()

protected static newFactory() : UserPromotionFactory
Return values
UserPromotionFactory

        
On this page

Search results