Tegral
0.0.5-SNAPSHOT
jvm
tegral-prismakt-generator
/
guru.zoroark.tegral.prismakt.generator.protocol
/
Model
Model
data
class
Model
(
val
name
:
String
,
val
dbName
:
String
?
,
val
fields
:
List
<
Field
>
,
val
uniqueFields
:
List
<
List
<
String
>
>
,
val
uniqueIndexes
:
List
<
UniqueIndex
>
,
val
documentation
:
String
?
=
null
,
val
primaryKey
:
PrimaryKey
?
)
Members
Constructors
Model
Link copied to clipboard
constructor
(
name
:
String
,
dbName
:
String
?
,
fields
:
List
<
Field
>
,
uniqueFields
:
List
<
List
<
String
>
>
,
uniqueIndexes
:
List
<
UniqueIndex
>
,
documentation
:
String
?
=
null
,
primaryKey
:
PrimaryKey
?
)
Properties
db
Name
Link copied to clipboard
val
dbName
:
String
?
documentation
Link copied to clipboard
val
documentation
:
String
?
=
null
fields
Link copied to clipboard
val
fields
:
List
<
Field
>
name
Link copied to clipboard
val
name
:
String
primary
Key
Link copied to clipboard
val
primaryKey
:
PrimaryKey
?
unique
Fields
Link copied to clipboard
val
uniqueFields
:
List
<
List
<
String
>
>
unique
Indexes
Link copied to clipboard
val
uniqueIndexes
:
List
<
UniqueIndex
>