Documentation

Message extends Model

Table of Contents

STATUS_DAILY_NOTIFICATION  = 2
STATUS_REAL_TIME_NOTIFICATION  = 0
STATUS_sent  = 1
STATUS_USER_NOT_NOTIFIED  = 3
$timestamps  : mixed
$fillable  : array<string|int, string>
The attributes that are mass assignable.
$hidden  : array<string|int, string>
The attributes excluded from the model's JSON form.
$table  : string
The table associated with the model.
user()  : HasOne
Get the user relationship

Constants

STATUS_DAILY_NOTIFICATION

public mixed STATUS_DAILY_NOTIFICATION = 2

STATUS_REAL_TIME_NOTIFICATION

public mixed STATUS_REAL_TIME_NOTIFICATION = ""

STATUS_sent

public mixed STATUS_sent = 1

STATUS_USER_NOT_NOTIFIED

public mixed STATUS_USER_NOT_NOTIFIED = 3

Properties

$timestamps

public mixed $timestamps = false

$fillable

The attributes that are mass assignable.

protected array<string|int, string> $fillable = ['type', 'timestamp_created', 'content', 'status', 'source', 'timestamp_status']

$hidden

The attributes excluded from the model's JSON form.

protected array<string|int, string> $hidden = ['user_id']

$table

The table associated with the model.

protected string $table = 'repcon_messages'

Methods

user()

Get the user relationship

public user() : HasOne
Return values
HasOne

Search results