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
Methods
- entityId() : int
- entityType() : string
- factory() : UserPromotionFactory
- moduleName() : string
- newFactory() : UserPromotionFactory
Constants
ENTITY_TYPE
public
mixed
ENTITY_TYPE
= 'user_promotion'
Properties
$id
public
int
$id
$fillable
protected
array<string|int, string>
$fillable
= ['is_active', 'user_group_id', 'upgrade_user_group_id', 'total_activity', 'total_day', 'updated_at', 'created_at']
$table
protected
mixed
$table
= 'user_promotion'
Methods
entityId()
public
entityId() : int
Return values
intentityType()
public
entityType() : string
Return values
stringfactory()
public
factory(mixed $parameters) : UserPromotionFactory
Parameters
- $parameters : mixed
Return values
UserPromotionFactorymoduleName()
public
moduleName() : string
Return values
stringnewFactory()
protected
static newFactory() : UserPromotionFactory