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

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

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

    @Schema(description = "物料检测标准检测项目ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "32027")
    @NotNull(message = "物料检测标准检测项目ID不能为空")
    private Long materialAssayStandardDetailId;

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

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

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

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

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

}