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

import com.bonus.common.core.annotation.Excel;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @Author ma_sh
 * @create 2024/11/11 18:30
 */
@Data
public class MaterialMaCodeVo {

    private Long maId;

    private String maStatus;

    private String maStatusName;

    private String typeId;

    private String taskId;

    @ApiModelProperty(value = "物资类型")
    private String materialType;

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

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

    @ApiModelProperty(value = "设备编码")
    @Excel(name = "设备编码")
    private String maCode;

    private String typeModelName;

    @ApiModelProperty(value = "机具外观判断")
    private String apDetection;

    private String keyWord;

    @ApiModelProperty(value = "驳回原因")
    private String rejectReason;

    @ApiModelProperty(value = "单位id")
    private Long unitId;

    @ApiModelProperty(value = "单位名称")
    private String unitName;

    @ApiModelProperty(value="工程id")
    private Long proId;

    @ApiModelProperty(value="工程名称")
    private String proName;

    @ApiModelProperty(value = "班组id")
    private Long teamId;

    @ApiModelProperty(value = "班组名称")
    private String teamName;

    @ApiModelProperty(value = "协议ID")
    private Long agreementId;

    private String createBy;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    @ApiModelProperty(value = "审核人")
    private String auditByName;

    @ApiModelProperty(value = "审核时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date auditTime;

    @ApiModelProperty(value = "驳回数量")
    private BigDecimal rejectNum;

    @ApiModelProperty(value = "外观判断不合格数量")
    private BigDecimal badNum;

    @ApiModelProperty(value = "外观判断合格数量")
    private BigDecimal goodNum;

    @ApiModelProperty(value = "出库人")
    @Excel(name = "出库人")
    private String outPerson;

    @ApiModelProperty(value = "出库时间")
    @Excel(name = "出库时间", width = 30, dateFormat = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date outTime;
}
