hyperf-chat/app/Model/Emoticon.php

43 lines
783 B
PHP
Raw Normal View History

2020-11-04 17:36:52 +08:00
<?php
declare (strict_types=1);
namespace App\Model;
/**
2020-11-14 18:10:28 +08:00
* 表情包分组数据表模型
2020-11-13 23:09:56 +08:00
*
2021-04-20 16:30:57 +08:00
* @property int $id 分组ID
* @property string $name 分组名称
* @property string $url 默认表情
2020-11-14 18:10:28 +08:00
* @property string $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 = [
2021-04-20 16:30:57 +08:00
'id' => 'integer',
2020-11-13 23:09:56 +08:00
'created_at' => 'datetime'
];
2020-11-04 17:36:52 +08:00
}