package com.cool.store.entity.plan;

import lombok.Data;

import javax.persistence.*;
import java.util.Date;

/**
 * 门店发货阶段明细映射表
 */
@Data
@Table(name = "zxjp_shop_delivery_plan_item")
public class ShopDeliveryPlanItemDO {

    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    private Long id;

    /**
     * 主表ID(shop_delivery_plan.id)
     */
    @Column(name = "plan_id")
    private Long planId;

    /**
     * 明细类型：1=采购设备，2=火码设备
     */
    @Column(name = "item_type")
    private Integer itemType;

    /**
     * 发货/订货状态：0-未发货 1-发货
     */
    @Column(name = "delivery_status")
    private Integer deliveryStatus;

    /**
     * 发货/订货备注
     */
    @Column(name = "delivery_remark")
    private String deliveryRemark;

    /**
     * 创建时间
     */
    @Column(name = "create_time")
    private Date createTime;

    /**
     * 更新时间
     */
    @Column(name = "update_time")
    private Date updateTime;
}
