<?php

namespace App\Models\Fpdx;

use Illuminate\Database\Eloquent\Model;

/**
 * App\Models\Fpdx\MessageModel
 *
 * @property int $id
 * @property string $send_uid 发送者
 * @property int $receive_uid 接收者
 * @property string $msg_content 内容
 * @property int $create_time 消息创建时间
 * @property int $msg_type 消息类型
 * @property int $push_at 推送时间
 * @property int $msg_state 推送状态0:未推送;1:送达;2:拒绝
 * @property int|null $deleted_at 删除时间
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Fpdx\MessageModel newModelQuery()
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Fpdx\MessageModel newQuery()
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Fpdx\MessageModel query()
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Fpdx\MessageModel whereCreateTime($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Fpdx\MessageModel whereDeletedAt($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Fpdx\MessageModel whereId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Fpdx\MessageModel whereMsgContent($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Fpdx\MessageModel whereMsgState($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Fpdx\MessageModel whereMsgType($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Fpdx\MessageModel wherePushAt($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Fpdx\MessageModel whereReceiveUid($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Fpdx\MessageModel whereSendUid($value)
 * @mixin \Eloquent
 */
class MessageModel extends Model
{
    protected $table = 'fpdx_pair_room_messages';

    public $timestamps = false;

    protected $fillable = [
        'send_uid',
        'receive_uid',
        'msg_content',
        'create_time',
        'msg_type',
        'push_at',
        'deleted_at'
    ];
}
