package ru.forbion.f7cloud.core.database

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

@Entity(
    tableName = "contacts",
    primaryKeys = ["accountKey", "uid"],
    indices = [Index("accountKey")],
)
data class ContactEntity(
    val accountKey: String,
    val uid: String,
    val displayName: String,
    val email: String,
    val phone: String,
    val bookName: String,
    val photoBase64: String = "",
    val photoMimeType: String = "",
    val organization: String = "",
    val title: String = "",
    val address: String = "",
    val website: String = "",
    val birthday: String = "",
    val emails: String = "",
    val phones: String = "",
)
