package com.cf.imes.module.executor.controller.admin.orderParts.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 = "管理后台 - 生产单配件表 order_parts_{N} Response VO")
@Data
@ExcelIgnoreUnannotated
public class OrderPartsRespVO {

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

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

    @Schema(description = "商品ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "1195")
    @ExcelProperty("商品ID")
    private String goodsId;

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

    @Schema(description = "材质", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("材质")
    private String material;

    @Schema(description = "配件类型", requiredMode = Schema.RequiredMode.REQUIRED, example = "2")
    @ExcelProperty("配件类型")
    private String type;

    @Schema(description = "型号", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("型号")
    private String model;

    @Schema(description = "规格", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("规格")
    private String spec;

    @Schema(description = "品牌", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("品牌")
    private String brand;

    @Schema(description = "厂家", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("厂家")
    private String factory;

    @Schema(description = "单位", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("单位")
    private String unit;

    @Schema(description = "价格", requiredMode = Schema.RequiredMode.REQUIRED, example = "29507")
    @ExcelProperty("价格")
    private Double price;

    @Schema(description = "是否复合部件：0 否 1 是", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("是否复合部件：0 否 1 是")
    private Boolean isComposite;

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

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

    @Schema(description = "数量", requiredMode = Schema.RequiredMode.REQUIRED, example = "29507")
    @ExcelProperty("数量")
    private Double num;

}