From 74decc3f2b250f528c59a7645112f975c35f93e0 Mon Sep 17 00:00:00 2001 From: Kenneth Trecy Tobias Date: Sun, 13 Aug 2023 14:01:18 +0800 Subject: [PATCH] internal(modifier): update casts --- app/Entities/Modifier.php | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/app/Entities/Modifier.php b/app/Entities/Modifier.php index 003649ce..b1293d13 100644 --- a/app/Entities/Modifier.php +++ b/app/Entities/Modifier.php @@ -11,16 +11,14 @@ class Modifier extends BaseResourceEntity protected $casts = [ "id" => "integer", - "account_id" => "integer", - "opposite_account_id" => "integer", + "debit_account_id" => "integer", + "credit_account_id" => "integer", "name" => "string", "description" => "?string", - "result_side" => "side", "kind" => "modifier_kind" ]; protected $castHandlers = [ - "side" => ResultSide::class, "modifier_kind" => ModifierKind::class, ]; }