package com.zioinfo.mes.production;

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

/**
 * 생산실적 (mes_production) — 작업지시에 대한 산출/불량 보고 + LOT 생성.
 */
@Data
public class MesProduction {
    private Long id;
    private Long workorderId;
    private String woNo;
    private String itemCode;
    private String lotNo;          // 생성된 산출 LOT
    private Double goodQty;        // 양품 산출
    private Double defectQty;      // 불량
    private String defectCode;     // 대표 불량코드
    private String processCode;
    private String equipmentCode;
    private String workerId;
    private String warehouseCode;   // 산출 입고 창고
    private LocalDateTime reportedAt;
    private String createdBy;
}
