package de.krisenvorrat.shared.model

import kotlinx.serialization.EncodeDefault
import kotlinx.serialization.ExperimentalSerializationApi
import kotlinx.serialization.Serializable

@OptIn(ExperimentalSerializationApi::class)
@Serializable
data class InventoryDto(
    @EncodeDefault(EncodeDefault.Mode.ALWAYS) val version: Int = 1,
    val categories: List<CategoryDto>,
    val locations: List<LocationDto>,
    val items: List<ItemDto>,
    val settings: List<SettingDto>
)
