cleanup
This commit is contained in:
@@ -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
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user