This commit is contained in:
2025-09-09 10:48:46 +05:00
parent 7efad097ef
commit 4e1f286eb5
15 changed files with 64 additions and 31 deletions

View File

@@ -17,6 +17,7 @@ use Spatie\MediaLibrary\InteractsWithMedia;
* @property string $tmt_payment_amount
* @property string $usd_payment_amount
* @property bool $paid
* @property bool $synced_with_system
* @property \Illuminate\Support\Carbon $created_at
* @property \Illuminate\Support\Carbon $updated_at
*/
@@ -36,6 +37,16 @@ class SberPaymentOrderItem extends Model implements HasMedia
*/
protected $guarded = [];
/**
* The attributes that should be cast.
*
* @var array<string, string>
*/
protected $casts = [
'paid' => 'boolean',
'synced_with_system' => 'boolean',
];
/**
* Parent order
*