package com.zt.plat.module.base.controller.admin.processingoperationmaterial.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 ProcessingOperationMaterialSaveReqVO {

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

    @Schema(description = "工艺工序ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "18575")
    private Long processingOperationId;

    @Schema(description = "物料ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "15117")
    private Long materialId;

    @Schema(description = "类型值-物料类型(产出/投入)", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "类型值-物料类型(产出/投入)不能为空")
    private String typeValue;

    @Schema(description = "备注", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "备注不能为空")
    private String remark;

    @Schema(description = "组织机构")
    private String departmentIds;

}