Обновлены миграции
Разработка парсера меню из 1с
This commit is contained in:
miroman-afk
2022-06-22 23:05:26 +03:00
parent 46cf6ff8e4
commit 9c3b633098
8 changed files with 234 additions and 14 deletions

15
models/Menu.php Normal file
View File

@@ -0,0 +1,15 @@
<?php
namespace App\Component\Models;
use Illuminate\Database\Eloquent\Model;
class Menu extends Model {
protected $table = 'menu';
/**
* The attributes that aren't mass assignable.
*
* @var array
*/
protected $guarded = [];
}

View File

@@ -6,4 +6,10 @@ use Illuminate\Database\Eloquent\Model;
class Modifier extends Model {
protected $table = 'modifiers';
/**
* The attributes that aren't mass assignable.
*
* @var array
*/
protected $guarded = [];
}

View File

@@ -0,0 +1,15 @@
<?php
namespace App\Component\Models;
use Illuminate\Database\Eloquent\Model;
class ReportCategories extends Model {
protected $table = 'report_categories';
/**
* The attributes that aren't mass assignable.
*
* @var array
*/
protected $guarded = [];
}