package com.remax.visualnovel.repository.mmkv

import com.remax.visualnovel.entity.response.User
import com.remax.visualnovel.utils.mmkv.MMKVOwner
import com.remax.visualnovel.utils.mmkv.mmkvParcelable
import com.remax.visualnovel.utils.mmkv.mmkvString

/**
 * Created by HJW on 2022/8/22
 * 登录用户相关数据
 */
object UserLocalRepository : MMKVOwner("user") {

    var token by mmkvString("")

    var localUser by mmkvParcelable<User>()
    var userOriginalJson by mmkvString("")
}