First commit for project

This commit is contained in:
2022-02-13 11:19:29 +01:00
commit d9c8d55505
106 changed files with 47789 additions and 0 deletions

28
app/Models/Category.php Normal file
View File

@@ -0,0 +1,28 @@
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
/**
* @property int $id
* @property string $name
* @property string $slug
* @property bool $default
* @property bool $visible
*/
class Category extends Model
{
// use HasFactory;
protected $guarded = [];
protected $casts = [
'id' => 'integer',
'name' => 'string',
'slug' => 'string',
'priority' => 'integer',
'default' => 'bool',
'visible' => 'bool'
];
}