package com.bonus.material.repair.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.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

@Data
public class RepairInspection implements Serializable {

    /**
     * 退回单位名称
     */
    @Excel(name = "退料单位")
    private String backUnitName;

    /**
     * 项目名称
     */
    @Excel(name = "退料工程")
    private String projectName;
    /**
     * 维修单号
     */
    @Excel(name = "维修单号")
    private String repairCode;

    /**
     * 类型名称
     */
    @Excel(name = "机具名称")
    private String typeName;


    /**
     * 型号名称
     */
    @Excel(name = "规格型号")
    private String typeModelName;


    /**
     * 单位名称
     */
    @Excel(name = "计量单位")
    private String unitName;


    /**
     * 维修数量
     */
    @Excel(name = "退料数量")
    private String repairNum;


    /**
     * 计算数量（采样比例 * 维修数量）
     */
    @Excel(name = "抽检数量")
    private String num;


    /**
     * 计算数量（采样比例 * 维修数量）
     */
    @Excel(name = "试验数量")
    private String expNum;

    @Excel(name = "抽检人")
    private String samplePerson;

    @Excel(name = "试验人")
    private String testPerson;


    private String unitId;

    private String proId;


    /**
     * 采样比例
     */
    private String samplingRatio;

    /**
     * 额定负载
     */
    @Excel(name = "额定载荷")
    private String ratedLoad;

    /**
     * 测试负载
     */
    @Excel(name = "试验载荷")
    private String testLoad;

    /**
     * 保持时间
     */
    @Excel(name = "持荷时间")
    private String holdingTime;

    /**
     * 物料编码
     */
    private String maCode;


    /**
     * 任务ID
     */
    private String taskId;

    /**
     * 类型ID
     */
    private String typeId;

    /**
     * 物料ID
     */
    private String maId;

    /**
     * 维修时间
     */
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date repairTime;


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

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


    private String keyWord;

}
