ServerV2ray.php 519 B

12345678910111213141516171819202122
  1. <?php
  2. namespace App\Models;
  3. use Illuminate\Database\Eloquent\Model;
  4. class ServerV2ray extends Model
  5. {
  6. protected $table = 'v2_server_v2ray';
  7. protected $dateFormat = 'U';
  8. protected $guarded = ['id'];
  9. protected $casts = [
  10. 'created_at' => 'timestamp',
  11. 'updated_at' => 'timestamp',
  12. 'group_id' => 'array',
  13. 'tlsSettings' => 'array',
  14. 'networkSettings' => 'array',
  15. 'dnsSettings' => 'array',
  16. 'ruleSettings' => 'array',
  17. 'tags' => 'array'
  18. ];
  19. }