35 lines
793 B
PHP
35 lines
793 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace App\Model;
|
|
|
|
/**
|
|
* @property int $message_id
|
|
* @property int $org_id
|
|
* @property string $device_sn
|
|
* @property string $topic_code
|
|
* @property int $msg_type
|
|
* @property string $content
|
|
* @property int $del_flag
|
|
* @property string $create_time
|
|
* @property string $update_time
|
|
*/
|
|
class DeviceMessage extends Model
|
|
{
|
|
/**
|
|
* The table associated with the model.
|
|
*/
|
|
protected ?string $table = 'device_message';
|
|
|
|
/**
|
|
* The attributes that are mass assignable.
|
|
*/
|
|
protected array $fillable = [];
|
|
|
|
/**
|
|
* The attributes that should be cast to native types.
|
|
*/
|
|
protected array $casts = ['message_id' => 'integer', 'org_id' => 'integer', 'msg_type' => 'integer', 'del_flag' => 'integer'];
|
|
}
|