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

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

    @Schema(description = "前序工序ID", example = "14658")
    private Long previousOperationId;

    @Schema(description = "后续工序ID", example = "22110")
    private Long nextOperationId;

    @Schema(description = "工艺ID", example = "5773")
    private Long processingId;

    @Schema(description = "工序ID", example = "3001")
    private Long operationId;

    @Schema(description = "工序类型值")
    private String operationTypeValue;

    @Schema(description = "是否关键工序")
    private Integer isKey;

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

    @Schema(description = "关联物料配置")
    private List<ProcessingInfomationOperationMaterialSaveReqVO> materials;

}