package com.zt.plat.module.qms.business.bus.controller.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import jakarta.validation.constraints.*;

@Schema(description = "管理后台 - 检测报表数据业务新增/修改 Request VO")
@Data
public class BusinessAssayReportDataSaveReqVO {

    @Schema(description = "ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "5943")
    private Long id;

    @Schema(description = "报表类型ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "15805")
    @NotNull(message = "报表类型ID不能为空")
    private Long configReportTypeId;

    @Schema(description = "报表配置ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "24960")
    @NotNull(message = "报表配置ID不能为空")
    private Long configSampleReportId;

    @Schema(description = "样品主样ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "30453")
    @NotNull(message = "样品主样ID不能为空")
    private Long businessBaseSampleId;

    @Schema(description = "样品编号", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "样品编号不能为空")
    private String sampleCode;
    
    @Schema(description = "数据来源")
    private String dataSource;

    @Schema(description = "分析数据")
    private String assayData;
    
    @Schema(description = "是否已全部上报")
    private Integer isAllReported;
    
    @Schema(description = "已上报数据来源")
    private String reportedSource;

    @Schema(description = "流程code")
    private String reportFlowCode;

    @Schema(description = "报告数据明细id", example = "6437")
    private Long documentDataId;

    @Schema(description = "所属部门", requiredMode = Schema.RequiredMode.REQUIRED)
    private String systemDepartmentCode;

    @Schema(description = "乐观锁", requiredMode = Schema.RequiredMode.REQUIRED, example = "378")
    private Integer updateCount;

    @Schema(description = "备注")
    private String remark;

}