28 lines
562 B
PHP
28 lines
562 B
PHP
<?php
|
|
|
|
namespace App\Modules\CardOrder\Models;
|
|
|
|
use Illuminate\Database\Eloquent\Model;
|
|
use Spatie\Translatable\HasTranslations;
|
|
|
|
/**
|
|
* @property int $id
|
|
* @property string $name
|
|
* @property string|null $price
|
|
* @property string|null $notes
|
|
* @property bool $active
|
|
* @property \Illuminate\Support\Carbon|null $created_at
|
|
* @property \Illuminate\Support\Carbon|null $updated_at
|
|
*/
|
|
class CardState extends Model
|
|
{
|
|
use HasTranslations;
|
|
|
|
/**
|
|
* Translatable fields
|
|
*
|
|
* @var array<string>
|
|
*/
|
|
public $translatable = ['name'];
|
|
}
|