File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed
saved-sites/saved-sites-store/src/main/java/com/duckduckgo/savedsites/store Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -24,12 +24,12 @@ import java.util.UUID
24
24
25
25
@Entity(tableName = " entities" , primaryKeys = [" entityId" ])
26
26
data class Entity (
27
- var entityId : String = UUID .randomUUID().toString(),
28
- var title : String ,
29
- var url : String? ,
30
- var type : EntityType ,
31
- var lastModified : String? = DatabaseDateFormatter .iso8601(),
32
- var deleted : Boolean = false ,
27
+ val entityId : String = UUID .randomUUID().toString(),
28
+ val title : String ,
29
+ val url : String? ,
30
+ val type : EntityType ,
31
+ val lastModified : String? = DatabaseDateFormatter .iso8601(),
32
+ val deleted : Boolean = false ,
33
33
)
34
34
35
35
enum class EntityType {
@@ -58,6 +58,6 @@ class EntityTypeConverter {
58
58
@Entity(tableName = " relations" )
59
59
data class Relation (
60
60
@PrimaryKey(autoGenerate = true ) val id : Int = 0 ,
61
- var folderId : String = UUID .randomUUID().toString(),
62
- var entityId : String ,
61
+ val folderId : String = UUID .randomUUID().toString(),
62
+ val entityId : String ,
63
63
)
You can’t perform that action at this time.
0 commit comments