package com.cf.imes.module.executor.controller.admin.order.vo.product;

import com.cf.imes.module.executor.dal.dataobject.orderItem.OrderItemDO;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.time.LocalDateTime;
import java.util.List;

import com.alibaba.excel.annotation.*;

@Schema(description = "管理后台 - 生产单柜体 Response VO")
@Data
@ExcelIgnoreUnannotated
public class OrderBodyRespVO {

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

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

    @Schema(description = "房间ID,后端生成", requiredMode = Schema.RequiredMode.REQUIRED, example = "26936")
    @ExcelProperty("房间ID,后端生成")
    private Long roomId;

    @Schema(description = "房间名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "张三")
    @ExcelProperty("房间名称")
    private String roomName;

    @Schema(description = "模块名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "晨丰")
    @ExcelProperty("模块名称")
    private String name;

    @Schema(description = "模块宽度", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("模块宽度")
    private Double width;

    @Schema(description = "模块高度", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("模块高度")
    private Double height;

    @Schema(description = "模块深度", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("模块深度")
    private Double depth;

    @Schema(description = "模块复制数量", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("模块复制数量")
    private Short multiNum;

    @Schema(description = "板材数量", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("板材数量")
    private Short plateNum;

    @Schema(description = "异型数量", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("异型数量")
    private Short unregularNum;

//    @Schema(description = "生产单详情内容", requiredMode = Schema.RequiredMode.REQUIRED)
//    @ExcelProperty("生产单详情内容")
//    private List<OrderItemDO> orderItemDOS;

    @Schema(description = "文件名", requiredMode = Schema.RequiredMode.REQUIRED, example = "晨丰")
    @ExcelProperty("文件名")
    private String filename;

    @Schema(description = "备注", requiredMode = Schema.RequiredMode.REQUIRED, example = "你说的对")
    @ExcelProperty("备注")
    private String remark;

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