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)

Properties

Link copied to clipboard
val dbNames: List<String>? = null
Link copied to clipboard
val default: Any? = null
Link copied to clipboard
Link copied to clipboard
val isGenerated: Boolean? = null
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val isUpdatedAt: Boolean? = null
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val relationName: String? = null
Link copied to clipboard
Link copied to clipboard
val relationToFields: List<Any>? = null
Link copied to clipboard