package com.zioinfo.mes.spec;

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

/**
 * 검사기준/규격 (mes_spec) — 품목·검사유형별 규격(LSL/USL/Target/AQL) + 다중 검사항목(JSONB).
 */
@Data
public class MesSpec {
    private Long id;
    private String specCode;
    private String itemCode;
    private String inspectionType;   // IQC/IPQC/OQC
    private String characteristic;   // 검사 특성
    private Double lsl;
    private Double usl;
    private Double target;
    private String unit;
    private Double aql;
    private String items;            // JSONB 문자열(다중 검사항목)
    private String status;
    private String createdBy;
    private LocalDateTime createdAt;
}
