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

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;

import java.time.LocalDateTime;
import java.util.*;
import jakarta.validation.constraints.*;

@Schema(description = "管理后台 - 委检登记分析部门业务新增/修改 Request VO")
@Data
public class BusinessSampleEntrustDepartmentSaveReqVO {

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

    @Schema(description = "检验委托登记ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "17511")
    @NotNull(message = "检验委托登记ID不能为空")
    private Long businessSampleEntrustRegistrationId;

    @Schema(description = "分析部门ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "28753")
    @NotNull(message = "分析部门ID不能为空")
    private Long assayDepartmentId;

    @Schema(description = "分析部门名称", example = "赵六")
    private String assayDepartmentName;

    @Schema(description = "检测项目")
    private String assayProject;

    @Schema(description = "检测项目带单位")
    private String assayProjectUnit;

    @Schema(description = "表单设计器模板id", example = "18483")
    private Long dataTemplateId;

    @Schema(description = "表单设计器模板key")
    private String dataTemplateKey;

    @Schema(description = "检验状态,unchecked-未检验；checked-已检验", example = "1")
    private String assayStatus;

    @Schema(description = "分析人")
    private String assayOperator;

    @Schema(description = "分析人", example = "3028")
    private String assayOperatorId;

    @Schema(description = "是否已上报")
    private Integer isReported;

    @Schema(description = "上报时间")
    private LocalDateTime reportTime;

    @Schema(description = "上报人")
    private String reportOperator;

    @Schema(description = "上报人ID", example = "5738")
    private Long reportOperatorId;

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

    @Schema(description = "乐观锁", requiredMode = Schema.RequiredMode.REQUIRED, example = "29810")
    @NotNull(message = "乐观锁不能为空")
    private Integer updateCount;

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

}