2023-03-30 13:52:19 +00:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace App\Models;
|
|
|
|
|
2023-06-15 07:15:41 +00:00
|
|
|
use Illuminate\Database\Eloquent\Model;
|
|
|
|
|
|
|
|
class ServerSetting extends Model
|
2023-03-30 13:52:19 +00:00
|
|
|
{
|
2023-04-26 13:38:50 +00:00
|
|
|
protected $fillable = [
|
2023-06-15 11:28:16 +00:00
|
|
|
'server_id',
|
2023-06-15 11:51:31 +00:00
|
|
|
'is_usable',
|
2023-04-26 13:38:50 +00:00
|
|
|
];
|
2023-03-30 13:52:19 +00:00
|
|
|
public function server()
|
|
|
|
{
|
|
|
|
return $this->belongsTo(Server::class);
|
|
|
|
}
|
|
|
|
}
|