package com.shkj.wms.domain;

import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.shkj.common.annotation.Excel;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

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

/**
 * @author zjx
 */
@Data
@NoArgsConstructor
@Accessors(chain = true)
@TableName("busin_pickup_dtl")
public class BusinPickupDtl implements Serializable {

    private static final long serialVersionUID=1L;

    /**
     * 取货明细ID
     */
    @TableId(value = "id", type = IdType.AUTO)
    @Excel(name = "取货明细ID", width = 20)
    private Long id;


    /**
     * 取货Id
     */
    @Excel(name = "取货Id", width = 20)
    private Long pickupId;



    /**
     * 物料条码
     */
    @Excel(name = "物料条码", width = 20)
    private String qrCode;


    /**
     * 取货时间
     */
    @TableField(fill = FieldFill.INSERT)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date pickupTime;

    /**
     * 仓库ID
     */
    @Excel(name = "仓库ID", width = 20)
    private Long branchId;

}
