package de.krisenvorrat.app.domain.usecase

import de.krisenvorrat.app.data.db.entity.ItemEntity
import java.time.LocalDate

internal fun buildTestItem(
    id: String = "id1",
    name: String = "Konserve",
    categoryId: Int = 1,
    quantity: Double = 1.0,
    unit: String = "Stk",
    unitPrice: Double = 0.0,
    kcalPerKg: Int? = null,
    expiryDate: LocalDate? = null,
    locationId: Int = 1
) = ItemEntity(
    id = id,
    name = name,
    categoryId = categoryId,
    quantity = quantity,
    unit = unit,
    unitPrice = unitPrice,
    kcalPerKg = kcalPerKg,
    expiryDate = expiryDate,
    locationId = locationId,
    notes = "",
    lastUpdated = 0L
)
