Database field interface. Using to create database field.
Properties:
Name | Type | Description |
---|---|---|
fieldName |
string | Field Name |
|
zEFieldTypeDB | Field Type |
fieldPrimaryKey |
boolean | Field is Primary key? |
fieldRequired |
boolean | Field is Required? |
fieldAllowNull |
boolean | Field is Allow Null? |
fieldAutoIncrement |
boolean | Field is Auto Increment? |
fieldUnique |
boolean | Field is Unique? |
fieldDefaultValue |
string | Field default values? |
fieldEnumValue |
Array.<string> | Field enum values? |
fieldRelation |
zIRelationDB | Field Relation? |
fieldSize |
number | Field Size? |
fieldPrecision |
number | Field Precision? |
fieldTextLength |
'tiny' | 'medium' | 'long' | Field Text Length? |
fieldValidate |
ModelValidateOptions | Field Validate? |
- Copyright:
- Ivan Antunes 2021
- Source: