package com.bonus.common.biz.domain.lease;

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;

import java.math.BigDecimal;

/**
 * 领料出库详细对象 lease_out_details
 *
 * @author xsheng
 * @date 2024-10-16
 */


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

    /** ID */
    private Long id;

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

    private String taskId;

    @ApiModelProperty(value = "标准箱ID")
    private Long boxId;

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

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

    @ApiModelProperty(value = "机具code")
    private String maCode;

    @ApiModelProperty(value = "机具状态")
    private String maStatus;

    @ApiModelProperty(value = "机具状态名称")
    private String statusName;

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

    @ApiModelProperty(value = "出库方式 0数量，1编码，2二维码，3标准箱")
    private Integer outType;

    /** 预领料数 */
    @Excel(name = "预领料数")
    @ApiModelProperty(value = "预领料数")
    private BigDecimal outNum;

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

    /** 车牌号 */
    @Excel(name = "车牌号")
    @ApiModelProperty(value = "车牌号")
    private String carCode;

    /** 是否推送到智慧工程0：否，1:是 */
    @Excel(name = "是否推送到智慧工程0：否，1:是")
    @ApiModelProperty(value = "是否推送到智慧工程0：否，1:是")
    private Long pushNotifications;

    @ApiModelProperty(value = "出库类型 0编码出库  1数量出库 2成套出库")
    private Integer manageType;

    @ApiModelProperty(value = "数量出库-出库数量")
    private BigDecimal inputNum;

    @ApiModelProperty(value = "0工程1长期")
    private String leaseType;

    /** 操作前库存 */
    private BigDecimal preStoreNum;

    /** 操作后库存 */
    private BigDecimal postStoreNum;

    /** 规格型号 */
    private String typeName;

    /** 类型名称 */
    private String typeModelName;

    @ApiModelProperty(value = "发布批次")
    private String publishTask;

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