ServerV2ray.php 550 B

1234567891011121314151617181920212223
  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. 'route_id' => 'array',
  14. 'tlsSettings' => 'array',
  15. 'networkSettings' => 'array',
  16. 'dnsSettings' => 'array',
  17. 'ruleSettings' => 'array',
  18. 'tags' => 'array'
  19. ];
  20. }