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

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
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;

@Schema(description = "管理后台 - 生产领料 Response VO")
@Data
@ExcelIgnoreUnannotated
public class ItemRequisitionRespVO {

    @Schema(description = "ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "5100")
    @ExcelProperty("ID")
    private Long id;

    @Schema(description = "编码", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("编码")
    private String code;

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

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

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

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

    @Schema(description = "计划ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "15546")
    private Long planId;
    @Schema(description = "计划", requiredMode = Schema.RequiredMode.REQUIRED, example = "15546")
    @ExcelProperty("计划")
    private String planCode;

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

    @Schema(description = "是否启用", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("是否启用")
    private Boolean isEnable;

    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

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

    @Schema(description = "领料人", example = "15546")
    @ExcelProperty("领料人")
    private String workerName;

    @Schema(description = "制浆线")
    private Long feedingPipeline;

    @Schema(description = "制浆线名称")
    @ExcelProperty("制浆线")
    private String feedingPipelineName;

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