package com.cf.imes.module.executor.controller.admin.plan.saveOptimize;


import com.cf.imes.framework.es.core.dal.ESDocument;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author 保存加工方案组信息
 */

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class SaveProcessSchemeModelDO extends ESDocument {


    @Schema(description = "排单ID", requiredMode = Schema.RequiredMode.REQUIRED)
    private Long planId;


    @Schema(description = "是否已经优化", requiredMode = Schema.RequiredMode.REQUIRED)
    private Boolean isOptimized;


    @Schema(description = "加工方案组的配置项ID", requiredMode = Schema.RequiredMode.REQUIRED)
    private Long planConfigId;


    @Schema(description = "配置项的名称", requiredMode = Schema.RequiredMode.REQUIRED)
    private String planName;


    @Schema(description = "大板数量", requiredMode = Schema.RequiredMode.REQUIRED)
    private Integer goodsNum;


    @Schema(description = "小板数量", requiredMode = Schema.RequiredMode.REQUIRED)
    private Long plateNum;


    @Schema(description = "机台类型", requiredMode = Schema.RequiredMode.REQUIRED)
    private Integer machineType;


    @Schema(description = "优化信息", requiredMode = Schema.RequiredMode.REQUIRED)
    private String setting;


    @Schema(description = "排单对应的优化生产的优化数据", requiredMode = Schema.RequiredMode.REQUIRED)
    private String planOptimize;


}
