server/app/Model/MessageChannel.php

37 lines
855 B
PHP

<?php
declare(strict_types=1);
namespace App\Model;
/**
* @property int $channel_id
* @property int $account_id
* @property int $message_id
* @property string $channel
* @property int $status
* @property string $fail_reason
* @property string $deleted_at
* @property string $create_time
* @property string $update_time
*/
class MessageChannel extends Model
{
/**
* The table associated with the model.
*/
protected ?string $table = 'message_channel';
protected string $primaryKey = 'channel_id';
/**
* The attributes that are mass assignable.
*/
protected array $fillable = [];
/**
* The attributes that should be cast to native types.
*/
protected array $casts = ['channel_id' => 'integer', 'account_id' => 'integer', 'message_id' => 'integer', 'status' => 'integer'];
}