OptionalallowOptionaldefaultOptionalprimaryOptionaluniqueUnique constraint on this field
OptionaluniqueUnique key name for this attribute - used to group with other fields for composite unique constraints. When multiple fields share the same uniqueKey, they form a composite unique constraint. Example: { uniqueKey: 'uq_org_email' } on orgId and email fields creates a composite unique constraint.
OptionalreferencesOptionalautoOptionalcommentOptionalvalidateOptionalfieldOptionalgetOptionalsetOptionalhiddenOptionalvirtual
One column of a model: its type, nullability, default, key membership and the name it maps to in the database.