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.time.LocalDateTime;

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

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

    @Schema(description = "报工单id", example = "27172")
    private Long reportId;
    @Schema(description = "报工单", example = "27172")
    @ExcelProperty("报工单")
    private String reportCode;

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

    @Schema(description = "产品ID", example = "9987")
    private Long productId;
    @Schema(description = "产品ID", example = "9987")
    @ExcelProperty("产品")
    private String productName;

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

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

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

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

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

}