More base setup and integration with AdminLTE
This commit is contained in:
18
app/Models/Setup.php
Normal file
18
app/Models/Setup.php
Normal file
@@ -0,0 +1,18 @@
|
||||
<?php
|
||||
|
||||
namespace App\Models;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class Setup extends Model
|
||||
{
|
||||
protected $table = 'setup';
|
||||
|
||||
/**
|
||||
* Get the site record associated with the setup.
|
||||
*/
|
||||
public function site()
|
||||
{
|
||||
return $this->hasOne('App\Models\Site');
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user