Ubiquity 2.5.2
php rapid development framework
Loading...
Searching...
No Matches
Column.php
Go to the documentation of this file.
1<?php
3
5use Attribute;
6
22#[Attribute(Attribute::TARGET_PROPERTY)]
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 This class is part of Ubiquity.
Ubiquity\attributes$BaseAttribute This class is part of Ubiquity.
__construct(string $name, bool $nullable=false, string $dbType='')
Definition Column.php:31