package cn.iocoder.yudao.module.mes.controller.admin.itemrequisition.vo;

import cn.iocoder.yudao.module.mes.dal.dataobject.itemrequisition.ItemRequisitionDetailDO;
import com.alibaba.excel.annotation.ExcelProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDate;
import java.time.LocalDateTime;
import java.util.List;

@Schema(description = "管理后台 - 生产领料新增/修改 Request VO")
@Data
public class ItemRequisitionSaveReqVO {

    @Schema(description = "ID", example = "5100")
    private Long id;

    @Schema(description = "编码")
    private String code;

    @Schema(description = "计划下料时间")
    private LocalDateTime requisitionDate;

    @Schema(description = "实际下料时间")
    private LocalDateTime deliveryDate;

    @Schema(description = "状态", example = "2")
    private Integer status;

    @Schema(description = "流程实例的编号", example = "1634")
    private String processInstanceId;

    @Schema(description = "计划ID", example = "15546")
    private Long planId;

    @Schema(description = "备注", example = "随便")
    private String remark;

    @Schema(description = "是否启用")
    private Boolean isEnable;

    @Schema(description = "领料明细列表")
    private List<ItemRequisitionDetailDO> itemRequisitionDetails;

    @Schema(description = "领料人ID", example = "15546")
    private Long workerId;
    @Schema(description = "制浆线")
    private Long feedingPipeline;

    @Schema(description = "生产线")
    private Long pipeline;

    @Schema(description = "是否试生产")
    private Boolean isPreProduction;

    @Schema(description = "派工数量", example = "15546")
    private Long paigongNum;

    @Schema(description = "领料时间")
    private LocalDate linliaoDate;

}