hyperf-chat/app/Model/Talk/TalkRecordsForward.php

38 lines
827 B
PHP
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

<?php
declare (strict_types=1);
namespace App\Model\Talk;
use App\Model\BaseModel;
/**
* 聊天记录(转发消息)数据表模型
*
* @property int $id 转发ID
* @property int $record_id 聊天记录ID
* @property int $user_id 用户ID
* @property string $records_id 聊天记录ID多个用英文','拼接
* @property string $text 缓存信息
* @property int $created_at 转发时间
* @package App\Model\Chat
*/
class TalkRecordsForward extends BaseModel
{
protected $table = 'talk_records_forward';
protected $fillable = [
'record_id',
'user_id',
'records_id',
'text',
'created_at'
];
protected $casts = [
'id' => 'integer',
'record_id' => 'integer',
'user_id' => 'integer',
];
}