package com.zioinfo.mes.certificate;

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

/**
 * 성적서/MSDS (mes_certificate) — COA(성적서)/MSDS/TEST_REPORT 발행·조회.
 */
@Data
public class MesCertificate {
    private Long id;
    private String certificateNo;
    private String certType;         // COA/MSDS/TEST_REPORT
    private String itemCode;
    private String lotNo;
    private String partnerCode;
    private String refType;
    private String refNo;
    private LocalDate issuedDate;
    private String content;          // JSONB 문자열(시험 항목/결과)
    private String filePath;
    private String status;
    private String createdBy;
    private LocalDateTime createdAt;
}
