package com.bonus.material.back.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 2025/3/31 15:13
 */
@Data
public class BackApplyVo {

    /** ID */
    private Long id;

    @ApiModelProperty(value = "协议号")
    @Excel(name = "协议号")
    private String agreementCode;

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

    @ApiModelProperty(value="工程名称")
    @Excel(name = "工程名称")
    private String backProName;

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

    @ApiModelProperty(value = "单位名称")
    @Excel(name = "退料单位")
    private String backUnitName;

    @ApiModelProperty(value = "类型名称")
    @Excel(name = "类型名称")
    private String typeName;

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

    @ApiModelProperty(value = "计量单位")
    @Excel(name = "计量单位")
    private String unitName;

    @ApiModelProperty(value = "退料单号")
    @Excel(name = "退料单号")
    private String backCode;

    @ApiModelProperty(value = "维修单号")
    @Excel(name = "维修单号")
    private String repairCode;

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

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

    @ApiModelProperty(value = "退料人员")
    @Excel(name = "退料人员")
    private String backPerson;

    @ApiModelProperty(value = "退料时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "退料时间", dateFormat = "yyyy-MM-dd HH:mm:ss", width = 30)
    private Date backTime;

    @ApiModelProperty(value="开始时间")
    private String startTime;

    @ApiModelProperty(value="结束时间")
    private String endTime;

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

    private Long typeId;

    private Long maId;
}
