package com.zt.plat.module.erp.controller.admin.erp.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.LocalDateTime;

@Schema(description = "管理后台 - ERP生产订单 Response VO")
@Data
@ExcelIgnoreUnannotated
public class ErpProductiveOrderRespVO {

    @Schema(description = "主键", requiredMode = Schema.RequiredMode.REQUIRED, example = "24243")
    @ExcelProperty("主键")
    private Long id;

    @Schema(description = "公司编号", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("公司编号")
    private String companyNumber;

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

    @Schema(description = "工厂名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "赵六")
    @ExcelProperty("工厂名称")
    private String factoryName;

    @Schema(description = "订单编号", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("订单编号")
    private String orderNumber;

    @Schema(description = "基本开始日期", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("基本开始日期")
    private LocalDateTime startDate;

    @Schema(description = "基本完成日期", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("基本完成日期")
    private LocalDateTime endDate;

    @Schema(description = "主产品物料编号", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("主产品物料编号")
    private String mainMaterialNumber;

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

    @Schema(description = "物料描述", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("物料描述")
    private String materialDescription;

    @Schema(description = "工序列表", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("工序列表")
    private String processingList;

    @Schema(description = "工序编号", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("工序编号")
    private String processingNumber;

    @Schema(description = "工序描述")
    @ExcelProperty("工序描述")
    private String processingDescription;

    @Schema(description = "对象编号", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("对象编号")
    private String objectNumber;

    @Schema(description = "工作中心编码", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("工作中心编码")
    private String workCenterNumber;

    @Schema(description = "工作中心描述")
    @ExcelProperty("工作中心描述")
    private String workCenterDescription;

    @Schema(description = "成本中心编码", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("成本中心编码")
    private String costcenterNumber;

    @Schema(description = "成本中心描述", example = "赵六")
    @ExcelProperty("成本中心描述")
    private String costcenterName;

}