mirror of
				https://github.com/cp6/my-idlers.git
				synced 2025-10-31 14:29:09 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			24 lines
		
	
	
	
		
			564 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
			
		
		
	
	
			24 lines
		
	
	
	
		
			564 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
| <?php
 | |
| 
 | |
| namespace App\Models;
 | |
| 
 | |
| use Illuminate\Database\Eloquent\Factories\HasFactory;
 | |
| use Illuminate\Database\Eloquent\Model;
 | |
| 
 | |
| class NetworkSpeed extends Model
 | |
| {
 | |
|     use HasFactory;
 | |
| 
 | |
|     public $incrementing = false;
 | |
| 
 | |
|     protected $keyType = 'string';
 | |
| 
 | |
|     protected $table = 'network_speed';
 | |
| 
 | |
|     protected $fillable = ['id', 'server_id', 'location', 'send', 'send_type', 'send_as_mbps', 'receive', 'receive_type', 'receive_as_mbps', 'created_at', 'updated_at'];
 | |
| 
 | |
|     public function yabs()
 | |
|     {
 | |
|         return $this->belongsTo(Yabs::class, 'id', 'id');
 | |
|     }
 | |
| }
 |