Work on cards

This commit is contained in:
2023-12-08 23:54:21 +05:00
parent a4265e488c
commit 63e264805a
15 changed files with 299 additions and 98 deletions

View File

@@ -0,0 +1,30 @@
<?php
namespace App\Models\Order\Card;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
use Spatie\Translatable\HasTranslations;
class CardState extends Model
{
use HasFactory;
use HasTranslations;
/**
* The attributes that are mass assignable.
*
* @var array<int, string>
*/
protected $fillable = [
'name',
'price',
];
/**
* Translatable fields
*
* @var array<string>
*/
public $translatable = ['name'];
}