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 BusinessSampleAssayResultSaveReqVO {

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

    @Schema(description = "委托登记样品明细ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "26226")
    @NotNull(message = "委托登记样品明细ID不能为空")
    private Long businessSampleEntrustDetailId;

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

    @Schema(description = "来样品位(JSON数据)", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "来样品位(JSON数据)不能为空")
    private String data;

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

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

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

}