package com.mime.dualscreenview.dto

import android.content.pm.ActivityInfo
import io.realm.kotlin.types.RealmObject
import io.realm.kotlin.types.annotations.PrimaryKey
import org.mongodb.kbson.ObjectId


class LastInfo() : RealmObject {
    var _id : String = "UniqLastId"
    var pageUrl : String = ""
    var title : String = ""
    var contentsData : String = ""
    var pageIndex : Int = 0
    var contentsName : String = ""
    var displayOrientation : Int =  ActivityInfo.SCREEN_ORIENTATION_PORTRAIT
}

class Bookmark() : RealmObject {
    @PrimaryKey
    var pageUrl : String = ""
}


