package com.ffii.fpsms.modules.master.web.models

import java.math.BigDecimal

data class SaveWarehouseRequest(
    val id: Long? = null,
    val code: String? = null,
    val name: String? = null,
    val description: String? = null,
    val capacity: BigDecimal? = null,
    val store_id: String? = null,
    val warehouse: String? = null,
    val area: String? = null,
    val slot: String? = null,
    val order: String? = null,
    val stockTakeSection: String? = null,
    val stockTakeSectionDescription: String? = null,
)
data class NewWarehouseRequest(

    val id: Long? = null,
    val code: String,
    val name: String,
    val description: String,
    val capacity: BigDecimal,
    val warehouse: String,
    val area: String,
    val slot: String,
    val store_id: String,
    val order: String,
    val storeLocation: String,
    val stockTakeTable: String,
    val company: String,
)
 data class ExcelWarehouseData(
    val warehouse: String,
    val area: String,
    val slot: String,
    val rowIndex: String
)
data class StockTakeSectionInfo(
    val stockTakeSection: String,
    val stockTakeSectionDescription: String?,
    val warehouseCount: Long,
    /** 該盤點區域所屬樓層／店別（取自倉庫 `store_id`，多筆時取第一筆非空） */
    val storeId: String? = null,
    /** 倉庫 `area`（多筆時取第一筆非空），對應列表卡片上的區域欄位 */
    val warehouseArea: String? = null,
)


data class UpdateSectionDescriptionRequest(
    val stockTakeSectionDescription: String?
)