lasthourcloud/app/Models/ServerSetting.php

18 lines
275 B
PHP
Raw Normal View History

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
{
protected $fillable = [
2023-06-15 11:28:16 +00:00
'server_id',
2023-06-15 11:51:31 +00:00
'is_usable',
];
2023-03-30 13:52:19 +00:00
public function server()
{
return $this->belongsTo(Server::class);
}
}