package com.cf.imes.module.executor.controller.admin.process.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import java.util.*;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;
import com.alibaba.excel.annotation.*;

@Schema(description = "管理后台 - 生产单工序 Response VO")
@Data
@ExcelIgnoreUnannotated
public class OrderProcessRespVO {

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

    @Schema(description = "生产单号", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("生产单号")
    private Long orderId;

    @Schema(description = "工序名", requiredMode = Schema.RequiredMode.REQUIRED, example = "张三")
    @ExcelProperty("工序名")
    private String name;

    @Schema(description = "工序组 ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "4356")
    @ExcelProperty("工序组 ID")
    private Long groupId;

    @Schema(description = "工序状态，0未加工，1已加工", requiredMode = Schema.RequiredMode.REQUIRED, example = "2")
    @ExcelProperty("工序状态，0未加工，1已加工")
    private Boolean status;

    @Schema(description = "板材大小", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("板材大小")
    private Double size;

    @Schema(description = "下一工序 ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "24046")
    @ExcelProperty("下一工序 ID")
    private Long nextStepId;

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

}