<?php

namespace App\Models\IM;

use Illuminate\Database\Eloquent\Model;

class UserLatestMessage extends Model
{
    protected $connection = 'mysql_fenpeiduixiang';

    protected $table = "user_latest_messages";

    public $timestamps = false;

    protected $fillable = [
        'uid',
        'from_uid',
        'to_uid',
        'seq',
        'msg_random',
        'msg_time_stamp',
        'read',
        'content',
    ];

    protected $casts = [
        'content' => 'array',
    ];
}
