package com.zioinfo.mes.receiving;

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

/**
 * 입고 (mes_receiving) — 공급사 자재/제품 입고·검수.
 *
 * <p>status: REQUESTED → INSPECTING → ACCEPTED(입고확정·재고증가) / REJECTED.
 */
@Data
public class MesReceiving {
    private Long id;
    private String receivingNo;
    private String partnerCode;
    private String itemCode;
    private String lotNo;
    private Double qty;
    private String warehouseCode;
    private String locationCode;
    private String status;
    private Boolean inspectionRequired;
    private String inspectionResult;   // PASS / FAIL
    private String remark;
    private String createdBy;
    private LocalDateTime createdAt;
}
