HashtagStatistic
extends Model
in package
implements
Entity
Uses
HasEntity, HasFactory, HasAmountsTrait
Class HashtagStatistic.
Table of Contents
Interfaces
- Entity
- Interface Entity.
Constants
- ENTITY_TYPE = 'search_hashtag_statistic'
Properties
- $id : int
- $tag_id : int
- $timestamps : mixed
- $total_item : int
- $fillable : array<string|int, string>
- $table : mixed
Methods
- decrementAmount() : int
- decrementTotalItem() : void
- entityId() : int
- entityType() : string
- incrementAmount() : int
- incrementTotalItem() : void
- incrementTotalView() : void
- moduleName() : string
- tag() : BelongsTo
- handleNegativeNumber() : void
Constants
ENTITY_TYPE
public
mixed
ENTITY_TYPE
= 'search_hashtag_statistic'
Properties
$id
public
int
$id
$tag_id
public
int
$tag_id
$timestamps
public
mixed
$timestamps
= false
$total_item
public
int
$total_item
$fillable
protected
array<string|int, string>
$fillable
= ['tag_id', 'total_item']
$table
protected
mixed
$table
= 'search_hashtag_statistics'
Methods
decrementAmount()
public
decrementAmount(string $column[, int $amount = 1 ]) : int
Parameters
- $column : string
- $amount : int = 1
Return values
intdecrementTotalItem()
public
decrementTotalItem() : void
entityId()
public
entityId() : int
Return values
intentityType()
public
entityType() : string
Return values
stringincrementAmount()
public
incrementAmount(string $column[, int $amount = 1 ]) : int
Parameters
- $column : string
- $amount : int = 1
Return values
intincrementTotalItem()
public
incrementTotalItem() : void
incrementTotalView()
public
incrementTotalView() : void
moduleName()
public
moduleName() : string
Return values
stringtag()
public
tag() : BelongsTo
Return values
BelongsTohandleNegativeNumber()
protected
handleNegativeNumber(string $column) : void
Parameters
- $column : string