[增添]增加了网络配置界面基本设置
This commit is contained in:
20
management-panel/app/Settings/NetworkSettings.php
Normal file
20
management-panel/app/Settings/NetworkSettings.php
Normal file
@@ -0,0 +1,20 @@
|
||||
<?php
|
||||
|
||||
namespace App\Settings;
|
||||
|
||||
use Spatie\LaravelSettings\Settings;
|
||||
|
||||
class NetworkSettings extends Settings
|
||||
{
|
||||
public ?string $ip_address;
|
||||
public ?string $subnet_mask;
|
||||
public ?string $gateway;
|
||||
public ?string $dns_server_1;
|
||||
public ?string $dns_server_2;
|
||||
public bool $dhcp_enabled;
|
||||
|
||||
public static function group(): string
|
||||
{
|
||||
return 'network';
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user