Ubiquity
2.5.2
php rapid development framework
Loading...
Searching...
No Matches
Column.php
Go to the documentation of this file.
1
<?php
2
namespace
Ubiquity\attributes\items
;
3
4
use
Ubiquity\annotations\BaseAnnotationTrait
;
5
use Attribute;
6
22
#[Attribute(Attribute::TARGET_PROPERTY)]
23
class
Column
extends
BaseAttribute
,
BaseAnnotationTrait
{
24
25
public
string
$name
;
26
27
public
bool
$nullable
=
false
;
28
29
public
string
$dbType
;
30
31
public
function
__construct
(
string
$name
,
bool
$nullable
=
false
,
string
$dbType
=
''
) {
32
$this->name =
$name
;
33
$this->nullable =
$nullable
;
34
$this->dbType =
$dbType
;
35
}
36
}
37
Ubiquity\annotations\BaseAnnotationTrait
Ubiquity\annotations$BaseAnnotationTrait This class is part of Ubiquity.
Definition
BaseAnnotationTrait.php:13
Ubiquity\attributes\items\BaseAttribute
Ubiquity\attributes$BaseAttribute This class is part of Ubiquity.
Definition
BaseAttribute.php:15
Ubiquity\attributes\items\Column
Annotation Column.
Definition
Column.php:23
Ubiquity\attributes\items\Column\$name
string $name
Definition
Column.php:25
Ubiquity\attributes\items\Column\$nullable
bool $nullable
Definition
Column.php:27
Ubiquity\attributes\items\Column\__construct
__construct(string $name, bool $nullable=false, string $dbType='')
Definition
Column.php:31
Ubiquity\attributes\items\Column\$dbType
string $dbType
Definition
Column.php:29
Ubiquity\attributes\items
C:
Users
myadd
Documents
GitHub
ubiquity-doc-api
vendor
phpmv
ubiquity-attributes
src
Ubiquity
attributes
items
Column.php
Generated on Sun Dec 10 2023 15:04:04 for
Ubiquity
by
doxygen
1.9.8