From 0f46848d1599adfda56e8a706e4dfb0144fcd731 Mon Sep 17 00:00:00 2001 From: kj Date: Fri, 15 Aug 2025 14:51:16 -0300 Subject: [PATCH] Remove the predefined 'id' property. This property is not necessary and gives less flexibility. --- src/Libs/Model.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/Libs/Model.php b/src/Libs/Model.php index d7b7175..5a83b59 100644 --- a/src/Libs/Model.php +++ b/src/Libs/Model.php @@ -23,8 +23,6 @@ use AllowDynamicProperties; #[AllowDynamicProperties] class Model { - - public ?int $id = null; protected array $toNull = []; static protected string $primaryKey = 'id'; static protected array $ignoreSave = ['id'];