feat: implement product and variant CRUD management service with attachment handling

This commit is contained in:
2026-07-01 11:44:56 -03:00
parent 6d0d600b4b
commit a150a9f694
4 changed files with 79 additions and 2 deletions

View File

@@ -0,0 +1,23 @@
<?php
namespace App\Domains\Catalog\Requests;
use Illuminate\Foundation\Http\FormRequest;
class ProductDetailRequest extends FormRequest
{
public function authorize(): bool
{
return true;
}
/**
* @return array<string, mixed>
*/
public function rules(): array
{
return [
'variant_id' => ['sometimes', 'integer'],
];
}
}