final | |
|---|---|
implements |
MappingAttribute |
| Methods | ||
|---|---|---|
public
|
__construct(
?string $name = null,
?string $type = null,
?int $length = null,
?int $precision = null,
?int $scale = null,
bool $unique = false,
bool $nullable = false,
bool $insertable = true,
bool $updatable = true,
class-string<BackedEnum>|null $enumType = null,
array<string, mixed> $options = [],
?string $columnDefinition = null,
'NEVER'|'INSERT'|'ALWAYS'|null $generated = null,
)
|
# |
| Properties | |||
|---|---|---|---|
public
|
string|null
|
$name
|
# |
public
|
mixed
|
$type
|
# |
public
|
int|null
|
$length
|
# |
public
|
int|null
|
$precision = 0
|
# |
public
|
int|null
|
$scale = 0
|
# |
public
|
bool
|
$unique = false
|
# |
public
|
bool
|
$nullable = false
|
# |
public
|
bool
|
$insertable = true
|
# |
public
|
bool
|
$updatable = true
|
# |
public
|
class-string<BackedEnum>|null
|
$enumType = null
|
# |
public
|
array<string, mixed>
|
$options = []
|
# |
public
|
string|null
|
$columnDefinition
|
# |
public
|
string|null
|
$generated
|
# |