package com.zioinfo.mes.stocktake;

import lombok.Data;
import java.time.LocalDateTime;

/**
 * 재고실사 (mes_stocktake) — 실사 카운트 vs 시스템 재고 차이 + 조정.
 *
 * <p>status: COUNTED(실사) → ADJUSTED(재고 조정 반영).
 */
@Data
public class MesStocktake {
    private Long id;
    private String stocktakeNo;
    private String itemCode;
    private String warehouseCode;
    private String locationCode;
    private String lotNo;
    private Double systemQty;
    private Double countedQty;
    private Double diffQty;
    private String status;       // COUNTED/ADJUSTED
    private String remark;
    private String createdBy;
    private LocalDateTime createdAt;
}
