Field
data class Field(val kind: FieldKind, val name: String, val isRequired: Boolean, val isList: Boolean, val isUnique: Boolean, val isId: Boolean, val isReadOnly: Boolean, val isGenerated: Boolean? = null, val isUpdatedAt: Boolean? = null, val type: String, val dbNames: List<String>? = null, val hasDefaultValue: Boolean, val default: Any? = null, val relationFromFields: List<String>? = null, val relationToFields: List<Any>? = null, val relationOnDelete: String? = null, val relationName: String? = null)
Constructors
Link copied to clipboard
constructor(kind: FieldKind, name: String, isRequired: Boolean, isList: Boolean, isUnique: Boolean, isId: Boolean, isReadOnly: Boolean, isGenerated: Boolean? = null, isUpdatedAt: Boolean? = null, type: String, dbNames: List<String>? = null, hasDefaultValue: Boolean, default: Any? = null, relationFromFields: List<String>? = null, relationToFields: List<Any>? = null, relationOnDelete: String? = null, relationName: String? = null)