From b7c41658142ae663e0a4fe98d6b3bd1a385867c5 Mon Sep 17 00:00:00 2001 From: Jagepard Date: Tue, 14 Jul 2026 16:43:37 +0300 Subject: [PATCH] feat(model): allow direct instantiation of Entity and Model --- src/Entity.php | 2 +- src/Model.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Entity.php b/src/Entity.php index b7a8c29..a6db4d6 100755 --- a/src/Entity.php +++ b/src/Entity.php @@ -14,7 +14,7 @@ /** * @mixin \Rudra\Model\Repository */ -abstract class Entity +class Entity { public static ?string $table = null; diff --git a/src/Model.php b/src/Model.php index 92e2e79..4727f66 100755 --- a/src/Model.php +++ b/src/Model.php @@ -16,7 +16,7 @@ /** * @mixin \Rudra\Model\Repository */ -abstract class Model +class Model { public ?string $table;