package com.github.nullptroma.wallenc.infrastructure.android.db.app.model

import androidx.room.Entity
import androidx.room.Index
import androidx.room.PrimaryKey

@Entity(
    tableName = "yandex_accounts",
    indices = [Index(value = ["yandexUserId"], unique = true)],
)
data class DbYandexAccount(
    @PrimaryKey val vaultUuid: String,
    val yandexUserId: String,
    val email: String,
    val oauthToken: String,
)
