2020-11-04 17:36:52 +08:00
|
|
|
<?php
|
|
|
|
|
|
|
|
declare (strict_types=1);
|
|
|
|
|
|
|
|
namespace App\Model;
|
|
|
|
|
|
|
|
/**
|
2020-11-13 23:09:56 +08:00
|
|
|
* Class Emoticon
|
|
|
|
*
|
2020-11-04 17:36:52 +08:00
|
|
|
* @property int $id
|
|
|
|
* @property string $name
|
|
|
|
* @property string $url
|
|
|
|
* @property \Carbon\Carbon $created_at
|
2020-11-13 23:09:56 +08:00
|
|
|
*
|
|
|
|
* @package App\Model
|
2020-11-04 17:36:52 +08:00
|
|
|
*/
|
2020-11-05 17:40:51 +08:00
|
|
|
class Emoticon extends BaseModel
|
2020-11-04 17:36:52 +08:00
|
|
|
{
|
|
|
|
/**
|
|
|
|
* The table associated with the model.
|
|
|
|
*
|
|
|
|
* @var string
|
|
|
|
*/
|
|
|
|
protected $table = 'emoticon';
|
|
|
|
|
|
|
|
/**
|
|
|
|
* The attributes that are mass assignable.
|
|
|
|
*
|
|
|
|
* @var array
|
|
|
|
*/
|
|
|
|
protected $fillable = [];
|
|
|
|
|
|
|
|
/**
|
|
|
|
* The attributes that should be cast to native types.
|
|
|
|
*
|
|
|
|
* @var array
|
|
|
|
*/
|
2020-11-13 23:09:56 +08:00
|
|
|
protected $casts = [
|
|
|
|
'id' => 'integer',
|
|
|
|
'created_at' => 'datetime'
|
|
|
|
];
|
2020-11-04 17:36:52 +08:00
|
|
|
}
|