diff --git a/src/Entities/Nas.php b/src/Entities/Nas.php new file mode 100644 index 0000000..efd7a0f --- /dev/null +++ b/src/Entities/Nas.php @@ -0,0 +1,36 @@ + + */ + protected $casts = [ + 'id' => 'int', + 'nasname' => 'string', + 'shortname' => 'string', + 'type' => 'string', + 'ports' => 'int', + 'secret' => 'string', + 'server' => 'string', + 'community' => 'string', + 'description' => 'string', + ]; +} diff --git a/src/Models/NasModel.php b/src/Models/NasModel.php new file mode 100644 index 0000000..1809676 --- /dev/null +++ b/src/Models/NasModel.php @@ -0,0 +1,34 @@ +table = $this->tables['nas']; + } +}