package com.zt.plat.module.base.controller.admin.processinginfomationoperation.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotEmpty;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.util.List;

/**
 * 工艺工序物料保存 Request VO
 */
@Data
public class ProcessingInfomationOperationMaterialSaveReqVO {

    @Schema(description = "主键ID", example = "10086")
    private Long id;

    @Schema(description = "物料ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "20001")
    @NotNull(message = "物料不能为空")
    private Long materialId;

    @Schema(description = "物料类型", requiredMode = Schema.RequiredMode.REQUIRED, example = "input")
    @NotEmpty(message = "物料类型不能为空")
    private String typeValue;

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

    @Schema(description = "组织ID集合")
    private List<Long> departmentIds;
}
