21 lines
344 B
PHP
21 lines
344 B
PHP
|
<?php
|
||
|
|
||
|
namespace App\Models;
|
||
|
|
||
|
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
||
|
use Illuminate\Database\Eloquent\Model;
|
||
|
|
||
|
class Product extends Model
|
||
|
{
|
||
|
use HasFactory;
|
||
|
protected $fillable = [
|
||
|
'name',
|
||
|
'description',
|
||
|
'price',
|
||
|
'picture',
|
||
|
'category',
|
||
|
'type',
|
||
|
'quantity',
|
||
|
];
|
||
|
}
|