package co.smartreceipts.android.identity.apis.organizations

import co.smartreceipts.android.model.Category
import co.smartreceipts.android.model.Column
import co.smartreceipts.android.model.PaymentMethod
import co.smartreceipts.android.model.Receipt
import com.squareup.moshi.Json
import com.squareup.moshi.JsonClass

@JsonClass(generateAdapter = true)
data class AppSettings(
    @Json(name = "Configurations") val configurations: Configurations,
    @Json(name = "Settings") val preferences: Map<String, Any?>,
    @Json(name = "Categories") val categories: List<Category>,
    @Json(name = "PaymentMethods") val paymentMethods: List<PaymentMethod>,
    @Json(name = "CSVColumns") val csvColumns: List<Column<Receipt>>,
    @Json(name = "PDFColumns") val pdfColumns: List<Column<Receipt>>
)
