first upload all files

This commit is contained in:
NW
2023-06-11 13:14:03 +01:00
parent f14dbc52b5
commit c08b36d1b6
1705 changed files with 106852 additions and 0 deletions

View File

@@ -0,0 +1,47 @@
<?php
namespace Modules\Attribute\Http\Controllers\Admin;
use Modules\Admin\Traits\HasCrudActions;
use Modules\Attribute\Entities\Attribute;
use Modules\Attribute\Http\Requests\SaveAttributeRequest;
class AttributeController
{
use HasCrudActions;
/**
* Model for the resource.
*
* @var string
*/
protected $model = Attribute::class;
/**
* The relations to eager load on every query.
*
* @var array
*/
protected $with = ['values'];
/**
* Label of the resource.
*
* @var string
*/
protected $label = 'attribute::admin.attribute';
/**
* View path of the resource.
*
* @var string
*/
protected $viewPath = 'attribute::admin.attributes';
/**
* Form requests for the resource.
*
* @var array
*/
protected $validation = SaveAttributeRequest::class;
}

View File

@@ -0,0 +1,40 @@
<?php
namespace Modules\Attribute\Http\Controllers\Admin;
use Modules\Admin\Traits\HasCrudActions;
use Modules\Attribute\Entities\AttributeSet;
use Modules\Attribute\Http\Requests\SaveAttributeSetRequest;
class AttributeSetController
{
use HasCrudActions;
/**
* Model for the resource.
*
* @var string
*/
protected $model = AttributeSet::class;
/**
* Label of the resource.
*
* @var string
*/
protected $label = 'attribute::attribute_sets.attribute_set';
/**
* View path of the resource.
*
* @var string
*/
protected $viewPath = 'attribute::admin.attribute_sets';
/**
* Form requests for the resource.
*
* @var array
*/
protected $validation = SaveAttributeSetRequest::class;
}