package com.bonus.material.input.domain;

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

/**
 * 入库任务详细对象 input_apply_details
 *
 * @author xsheng
 * @date 2024-10-16
 */


@Data
@ToString
public class InputApplyDetails extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 任务ID */
    @Excel(name = "任务ID")
    @ApiModelProperty(value = "任务ID")
    private Long taskId;

    /** 机具ID */
    @Excel(name = "机具ID")
    @ApiModelProperty(value = "机具ID")
    private Long maId;

    /** 规格ID */
    @Excel(name = "规格ID")
    @ApiModelProperty(value = "规格ID")
    private Long typeId;

    /** 上级任务ID */
    @Excel(name = "上级任务ID")
    @ApiModelProperty(value = "上级任务ID")
    private Long parentId;

    /** 入库数量 */
    @Excel(name = "入库数量")
    @ApiModelProperty(value = "入库数量")
    private Long inputNum;

    /** 入库类型（1新购，2退料，3修试后，4盘点） */
    @Excel(name = "入库类型", readConverterExp = "1=新购，2退料，3修试后，4盘点")
    private String inputType;

    /** 数据所属组织 */
    @Excel(name = "数据所属组织")
    @ApiModelProperty(value = "数据所属组织")
    private Long companyId;

    @ApiModelProperty(value = "入库人")
    private String auditBy;

    @ApiModelProperty(value = "二维码")
    private String qrCode;

    /**
     * 修饰入库任务编号
     */
    private String inputCode;
}
