package com.prolog.upcloud.base.wh.operate.model;

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

import java.io.Serializable;
import java.util.Date;

/**
 * @auther KingYan
 * @create 2022-08-10 15:57:54
 * @describe EIS任务表实体类
 */
@Data
@Table("eis_task")
@ApiModel(value = "EisTask对象", description = "EIS任务表")
public class EisTask implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键ID")
    @Id
    @AutoKey(type = AutoKey.TYPE_SNOWFLAKE)
    private String id;

    @ApiModelProperty(value = "任务类型")
    @Column("task_type")
    private Integer taskType;

    @ApiModelProperty(value = "任务单号")
    @Column("task_hrd_id")
    private String taskHrdId;

    @ApiModelProperty(value = "任务明细单号")
    @Column("task_dtl_id")
    private String taskDtlId;

    @ApiModelProperty(value = "状态（0-初始；1-到位；2-完成；）")
    @Column("status")
    private Integer status;

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

    @ApiModelProperty(value = "商品编码")
    @Column("item_code")
    private String itemCode;

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

    @ApiModelProperty(value = "企业id")
    @Column("enterprise_id")
    private String enterpriseId;

    @ApiModelProperty(value = "仓库ID")
    @Column("warehouse_id")
    private String warehouseId;

    @ApiModelProperty(value = "货主id")
    @Column("cargo_owner_id")
    private String cargoOwnerId;

    @ApiModelProperty(value = "Create time, common column by DB rules")
    @Column("gmt_create")
    private Date gmtCreate;

    @ApiModelProperty(value = "Creator,common column by DB rules")
    @Column("creator")
    private String creator;

    @ApiModelProperty(value = "Creator name,common column by DB rules")
    @Column("creator_name")
    private String creatorName;

    @ApiModelProperty(value = "Modified time,common column by DB rules")
    @Column("gmt_modified")
    private Date gmtModified;

    @ApiModelProperty(value = "Modifier,common column by DB rules")
    @Column("modifier")
    private String modifier;

    @ApiModelProperty(value = "Modifier name,common column by DB rules")
    @Column("modifier_name")
    private String modifierName;


}