web-base/Core/Objects/DatabaseEntity/Attribute/BigInt.class.php

16 lines
309 B
PHP
Raw Normal View History

2023-01-10 22:12:05 +01:00
<?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;
}
}