diff --git a/src/modeles/Company.php b/src/modeles/Company.php index 779c5ffccafb8f209a38f0ec21069ccf5c764791..4cf669a4747e6837cb9fae89c1ff640b847a6226 100644 --- a/src/modeles/Company.php +++ b/src/modeles/Company.php @@ -1,7 +1,9 @@ <?php -class Company +class Company extends \Illuminate\Database\Eloquent\Model { - -} \ No newline at end of file + protected $table = 'company'; + protected $primaryKey='id'; + public $timestamps = false; +} diff --git a/src/modeles/Theme.php b/src/modeles/Theme.php index 30a9333e3e7e740b7e34e378b3e571e63aecbb74..d374d33371df3fa854c5ab12505f45cc29a830b9 100644 --- a/src/modeles/Theme.php +++ b/src/modeles/Theme.php @@ -1,7 +1,9 @@ <?php -class Theme +class Theme extends \Illuminate\Database\Eloquent\Model { - -} \ No newline at end of file + protected $table = 'theme'; + protected $primaryKey ='id'; + public $timestamps = false; +}