chore: complete update
This commit is contained in:
14
src/Framework/Database/Attributes/Entity.php
Normal file
14
src/Framework/Database/Attributes/Entity.php
Normal file
@@ -0,0 +1,14 @@
|
||||
<?php
|
||||
|
||||
namespace App\Framework\Database\Attributes;
|
||||
|
||||
use Attribute;
|
||||
|
||||
#[Attribute(Attribute::TARGET_CLASS)]
|
||||
class Entity
|
||||
{
|
||||
public function __construct(
|
||||
public ?string $tableName = null,
|
||||
public string $idColumn = 'id'
|
||||
) {}
|
||||
}
|
||||
Reference in New Issue
Block a user