fix: 增加Realm依赖

This commit is contained in:
2023-04-03 10:26:38 +08:00
parent 80a42c8387
commit 56c5badcf0
8 changed files with 97 additions and 8 deletions

View File

@@ -7,7 +7,7 @@ enum class StatusEnum(val status: Int) {
ERROR(4), DONE(5), UPDATE(6)
}
open class OfflineMapCityBean : RealmObject{
open class OfflineMapCityBean{
var id: String = ""
var fileName: String = ""
var name: String = ""

View File

@@ -4,7 +4,7 @@ import io.realm.RealmObject
import io.realm.annotations.PrimaryKey
open class OfflineMapCityRealmObject(): RealmObject() {
open class OfflineMapCityRealmObject(){
@PrimaryKey
var id: String = ""
var fileName: String=""