package com.bonus.material.repair.domain;

import com.bonus.common.core.web.domain.BaseEntity;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;

/**
 * @Author ma_sh
 * @create 2024/12/12 14:42
 */
@Data
public class RepairInputInfo extends BaseEntity {

    private Long id;

    @ApiModelProperty(value = "任务id")
    private Long taskId;

    @ApiModelProperty(value = "物资id")
    private Long maId;

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

    @ApiModelProperty(value = "物资名称")
    private String typeName;

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

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

    @ApiModelProperty(value = "单位")
    private String unitValue;

    @ApiModelProperty(value = "预入库数量")
    private BigDecimal repairNum;

    @ApiModelProperty(value = "待入库数量")
    private BigDecimal pendingInputNum;

    @ApiModelProperty(value = "已入库数量")
    private BigDecimal inputNum;

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

    @ApiModelProperty(value = "管理模式")
    private String manageType;

    @ApiModelProperty(value = "0 入库进行中，1 入库完成，2 入库驳回")
    private String status;

    @ApiModelProperty(value = "入库状态名称")
    private String statusName;

    @ApiModelProperty(value = "协议号")
    private Integer agreementId;

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

    @ApiModelProperty(value = "一级类型id")
    private Long firstId;

    /**
     * 修饰入库时间
     */
    private String auditTime;

    /**
     * 修饰入库人
     */
    private String auditBy;

    /**
     * 修饰入库单号
     */
    private String inputCode;
}
