Additional common attributes for primitive fields

Common attributes for primitive field types

name

type

required

default value

description

unique

boolean

no

false

If true this field will be unique (validator with case insensitive).
Should be set to false for copyable (see Common model field attributes) fields (except string and text).

default

string

no

none

Default value of this field. Is used only for FormComponent. This flag is ignored when entity is saving to database without view.