toggle menu
Stitch
jvm
switch theme
search in API
codegen
/
dev.teogor.stitch.codegen.model
/
RoomModel
Room
Model
data
class
RoomModel
(
val
name
:
String
,
val
packageName
:
String
,
val
entity
:
TypeName
,
val
dao
:
TypeName
?
=
null
,
val
fields
:
List
<
FieldKind
>
,
val
functions
:
List
<
FunctionKind
>
)
Members
Constructors
Room
Model
Link copied to clipboard
constructor
(
name
:
String
,
packageName
:
String
,
entity
:
TypeName
,
dao
:
TypeName
?
=
null
,
fields
:
List
<
FieldKind
>
,
functions
:
List
<
FunctionKind
>
)
Properties
dao
Link copied to clipboard
val
dao
:
TypeName
?
=
null
entity
Link copied to clipboard
val
entity
:
TypeName
fields
Link copied to clipboard
val
fields
:
List
<
FieldKind
>
functions
Link copied to clipboard
val
functions
:
List
<
FunctionKind
>
has
Dao
Link copied to clipboard
val
hasDao
:
Boolean
name
Link copied to clipboard
val
name
:
String
package
Name
Link copied to clipboard
val
packageName
:
String