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

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

@Schema(description = "管理后台 - 检测报告明细新增/修改 Request VO")
@Data
public class ReportDocumentDataSaveReqVO {

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

    @Schema(description = "报告ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "13627")
    @NotNull(message = "报告ID不能为空")
    private Long mainId;

    @Schema(description = "原始数据ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "19655")
    @NotNull(message = "原始数据ID不能为空")
    private Long sourceId;

    @Schema(description = "数据内容")
    private String documentContent;

    @Schema(description = "所属部门")
    private String systemDepartmentCode;

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

}