package com.prolog.cs.biz.inbound.dto.rcv;

import com.prolog.framework.core.annotation.Column;
import com.prolog.framework.core.annotation.Id;
import com.prolog.framework.core.annotation.Ignore;
import com.prolog.framework.core.annotation.Table;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;

@Data
@Table("wms_to_eis_task_record")
public class WmsToEisTaskRecord implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	@Id
	@ApiModelProperty(value = "上架任务池ID")
    @Column("task_id")
	private String taskId;

	@ApiModelProperty(value = "容器号")
	@Column("container_code")
	private String containerCode;

	@ApiModelProperty(value = "商品ID")
	@Column("item_id")
	private String itemId;

	@ApiModelProperty(value = "数量")
	private BigDecimal qty;

	@ApiModelProperty(value = "库别")
	@Column("wh_area_category_code")
	private String whAreaCategoryCode;

	@ApiModelProperty(value = "库区")
	@Column("wh_area_code")
	private String whAreaCode;

	@ApiModelProperty(value = "货位")
	@Column("location_code")
	private String locationCode;

	@ApiModelProperty(value = "状态")
	private String status;

	@ApiModelProperty(value = "调用次数")
	private Integer count;

	@ApiModelProperty(value = "调用消息")
	private String message;

    @ApiModelProperty(value = "任务类型: 0-入库任务推送 1-容器借道下发")
    @Column("task_type")
    private Integer taskType;

    @ApiModelProperty(value = "新增/修改")
    @Ignore
    private String type;
}
