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

import com.njzscloud.dispose.mfg.bom.pojo.result.SearchBomResult;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import lombok.experimental.Accessors;

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

    /**
     * Id
     */
    private Long id;
    /**
     * 工艺 Id
     */
    private Long craftId;

    /**
     * 工序 Id；mfg_craft_operation.id
     */
    private Long operationId;

    /**
     * 物料清单 Id
     */
    private Long bomId;
    /**
     * 工序
     */
    private SearchCraftOperationResult operation;

    /**
     * 物料清单
     */
    private SearchBomResult bom;

    /**
     * 步骤；同一工艺下相同步骤的工序为并行工序
     */
    private Integer step;

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

}
