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

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

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

    @Schema(description = "分析部门ID", example = "18509")
    private Long assayDepartmentId;

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

    @Schema(description = "分样子样ID", example = "30545")
    private Long businessSubSampleId;

    @Schema(description = "检测任务ID", example = "978")
    private Long businessAssayTaskDataId;

    @Schema(description = "检测方法配置ID", example = "14672")
    private Long configAssayMethodId;

    @Schema(description = "检测方法分析项目配置ID", example = "7934")
    private Long configAssayMethodProjectId;

    @Schema(description = "任务数", example = "15264")
    private Integer taskCount;

    @Schema(description = "是否已分配任务")
    private Integer isAssignTasked;

    @Schema(description = "检测项目ID,字典表：【T_DIC_PRJ】", requiredMode = Schema.RequiredMode.REQUIRED, example = "17192")
    @NotNull(message = "检测项目ID,字典表：【T_DIC_PRJ】不能为空")
    private Long dictionaryProjectId;

    @Schema(description = "用途,ingredient-配料、report-报出、ingredient_report-配料及报出")
    private String usage;

    @Schema(description = "是否启用,1-启用，0-不启用", requiredMode = Schema.RequiredMode.REQUIRED)
    private Integer isEnabled;

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

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

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

}