v2board/app/Models/ServerVmess.php

24 lines
550 B
PHP
Raw Normal View History

2019-10-29 15:33:36 +08:00
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
2023-02-15 14:53:13 +08:00
class ServerVmess extends Model
2019-10-29 15:33:36 +08:00
{
2021-09-21 18:07:53 +08:00
protected $table = 'v2_server_v2ray';
2019-10-29 15:33:36 +08:00
protected $dateFormat = 'U';
2019-11-18 18:23:39 +08:00
protected $guarded = ['id'];
2021-08-01 22:56:11 +08:00
protected $casts = [
'created_at' => 'timestamp',
2021-08-06 00:43:01 +08:00
'updated_at' => 'timestamp',
'group_id' => 'array',
2022-11-27 15:11:10 +08:00
'route_id' => 'array',
2021-08-06 00:43:01 +08:00
'tlsSettings' => 'array',
'networkSettings' => 'array',
'dnsSettings' => 'array',
'ruleSettings' => 'array',
2021-08-06 12:01:17 +08:00
'tags' => 'array'
2021-08-01 22:56:11 +08:00
];
2019-10-29 15:33:36 +08:00
}