package com.hzs.common.domain.sale.deliver;

import com.baomidou.mybatisplus.annotation.KeySequence;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import com.hzs.common.core.web.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * 发货条码表
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@KeySequence("SA_DELIVER_BAR_CODE_SEQ")
@TableName("SA_DELIVER_BAR_CODE")
public class SaDeliverBarCode extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId("PK_ID")
    private Long pkId;

    /**
     * 发货单主键
     */
    @TableField("PK_DELIVER")
    private Long pkDeliver;

    /**
     * 发货单明细主键
     */
    @TableField("PK_DELIVER_ITEMS")
    private Long pkDeliverItems;

    /**
     * 产品主键
     */
    @TableField("PK_PRODUCT")
    private Integer pkProduct;

    /**
     * 产品条码主键
     */
    @TableField("PK_BAR_CODE_ITEMS")
    private Integer pkBarCodeItems;

    /**
     * 产品条码编号
     */
    @TableField("BAR_CODE")
    private String barCode;


}
