hyperf-chat/app/Model/EmoticonDetail.php

42 lines
962 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
* 表情包数据表模型
*
2021-04-20 16:30:57 +08:00
* @property int $id 表情包ID
* @property int $emoticon_id 分组ID
* @property int $user_id 用户ID
* @property string $describe 表情描述
* @property string $url 表情链接
2020-11-14 18:10:28 +08:00
* @property string $file_suffix 文件前缀
2021-04-20 16:30:57 +08:00
* @property int $file_size 表情包文件大小
* @property string $created_at 创建时间
2020-11-14 18:10:28 +08:00
* @package App\Model
2020-11-04 17:36:52 +08:00
*/
2020-11-05 17:40:51 +08:00
class EmoticonDetail extends BaseModel
2020-11-04 17:36:52 +08:00
{
protected $table = 'emoticon_details';
2020-11-14 18:10:28 +08:00
protected $fillable = [
'emoticon_id',
'user_id',
'describe',
'url',
'file_suffix',
'file_size',
'created_at',
];
protected $casts = [
2021-04-20 16:30:57 +08:00
'id' => 'integer',
2020-11-14 18:10:28 +08:00
'emoticon_id' => 'integer',
2021-04-20 16:30:57 +08:00
'user_id' => 'integer',
'file_size' => 'integer',
'created_at' => 'integer'
2020-11-14 18:10:28 +08:00
];
2020-11-04 17:36:52 +08:00
}