NMRelation cleanup / improvement
This commit is contained in:
16
Core/Objects/DatabaseEntity/Attribute/BigInt.class.php
Normal file
16
Core/Objects/DatabaseEntity/Attribute/BigInt.class.php
Normal file
@@ -0,0 +1,16 @@
|
||||
<?php
|
||||
|
||||
namespace Core\Objects\DatabaseEntity\Attribute;
|
||||
|
||||
#[\Attribute(\Attribute::TARGET_PROPERTY)] class BigInt {
|
||||
|
||||
private bool $unsigned;
|
||||
|
||||
public function __construct(bool $unsigned = false) {
|
||||
$this->unsigned = $unsigned;
|
||||
}
|
||||
|
||||
public function isUnsigned(): bool {
|
||||
return $this->unsigned;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user