This commit is contained in:
nurmuhammet committed 2025-03-16 14:12:26 +05:00
1 parent 0b47fe694c
commit e0d876707d
6 files changed
+110 -43

No files matched your search

@@ -27,6 +27,7 @@
* @property string $username
* @property int $online_paymantable_id
* @property string $online_paymantable_type
* @property ?array $api_response
* @property \Illuminate\Support\Carbon $created_at
* @property \Illuminate\Support\Carbon $updated_at
*/
@@ -40,4 +41,16 @@ class OnlinePaymentHistory extends Model
* @var string
*/
protected $table = 'online_payment_histories';
/**
* Get the attributes that should be cast.
*
* @return array<string, string>
*/
protected function casts(): array
{
return [
'api_response' => 'array',
];
}
}