package com.bonus.material.back.domain.vo;

import com.bonus.common.biz.domain.BmFileInfo;
import com.bonus.common.core.annotation.Excel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.List;

/**
 * 退料查询二级页面
 * @Author ma_sh
 * @create 2025/3/31 18:15
 */
@Data
public class BackApplyInfoVo {

    @ApiModelProperty(value="主键id")
    private Long id;

    @ApiModelProperty(value="退料id")
    private Long backId;

    @ApiModelProperty(value="关键字")
    private String keyWord;

    @ApiModelProperty(value="类型id")
    private Long typeId;

    @ApiModelProperty(value="机具id")
    private Long maId;

    @ApiModelProperty(value = "机具名称")
    @Excel(name = "机具名称")
    private String typeName;

    @ApiModelProperty(value = "规格型号")
    @Excel(name = "规格型号")
    private String typeModelName;

    @ApiModelProperty(value = "退料数量")
    @Excel(name = "退料数量")
    private BigDecimal backNum;

    @ApiModelProperty(value = "合格数量")
    @Excel(name = "合格数量")
    private BigDecimal passNum;

    @ApiModelProperty(value = "不合格数量")
    @Excel(name = "不合格数量")
    private BigDecimal unPassNum;

    @ApiModelProperty(value = "不合格原因")
    @Excel(name = "不合格原因")
    private String unPassReason;

    @ApiModelProperty(value = "不合格图片")
    private List<BmFileInfo> fileInfoList;
}
