package cn.iocoder.yudao.module.mes.controller.admin.producereportplan.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.math.BigDecimal;
import java.util.List;

@Schema(description = "管理后台 - 报工分配计划 Response VO")
@Data
@ExcelIgnoreUnannotated
public class ReportPlanSummaryRespVO {

    @Schema(description = "计划id", example = "30035")
    private Long planId;
    @Schema(description = "计划id", example = "30035")
    @ExcelProperty("计划")
    private String planCode;

    @Schema(description = "产品ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "14517")
    private Long productId;
    @Schema(description = "产品", requiredMode = Schema.RequiredMode.REQUIRED, example = "14517")
    @ExcelProperty("产品")
    private String productName;

    @Schema(description = "成品数量")
    @ExcelProperty("成品数量")
    private BigDecimal totalQualityNumber;

    @Schema(description = "废品数量")
    @ExcelProperty("废品数量")
    private BigDecimal totalWasteNumber;

    @Schema(description = "计件时间")
    @ExcelProperty("计件时间")
    private BigDecimal reportTimeSummary;

    @Schema(description = "总时长")
    @ExcelProperty("总时长")
    private BigDecimal totalTimeSummary;

    @Schema(description = "工序类型")
    @ExcelProperty("工序类型")
    private String orgType;

    private List<Long> planIds;
}


