package com.njzscloud.dispose.mfg.craft.pojo.param;

import jakarta.validation.constraints.NotNull;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import lombok.experimental.Accessors;

/**
 * 工艺路线
 */
@Getter
@Setter
@ToString
@Accessors(chain = true)
public class AddCraftWayParam {

    /**
     * 工序 Id；mfg_craft_operation.id
     */
    @NotNull(message = "工序不能为空")
    private Long operationId;

    /**
     * 物料清单 Id
     */
    @NotNull(message = "物料清单不能为空")
    private Long bomId;

    /**
     * 步骤；同一工艺下相同步骤的工序为并行工序
     */
    @NotNull(message = "步骤不能为空")
    private Integer step;

    /**
     * 备注
     */
    private String memo;

}
