v2board/app/Models/ServerV2ray.php

23 lines
519 B
PHP
Raw Normal View History

2019-10-29 15:33:36 +08:00
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
2021-09-21 18:07:53 +08:00
class ServerV2ray 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',
'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
}