package com.gingersoft.supply_chain.mvp.bean;

import java.util.List;

import lombok.Data;

/**
 * @author 宇航.
 * User: admin
 * Date: 2020/12/24
 * Time: 14:14
 * Use: 入庫接口上傳實體類
 */
@Data
public class OrderWareHouseBean {
    private int status;
    private int orderId;

    private PurchaseWarehousingOrder purchaseWarehousingOrder;
    private List<PurchaseWarehousingOrderDetail> purchaseWarehousingOrderDetails;

    @Data
    public static class PurchaseWarehousingOrder {
        private String files;
        private String remarks;
        private double totalPrice;

        private int brandId;
        private int restaurantId;
    }

    @Data
    public static class PurchaseWarehousingOrderDetail {
        private int orderDetailsId;
        private int purchaseFoodId;
        private int foodQuantity;
        private double foodPrice;
        private double totalPrice;
        private int type;
        private String unitContent;
    }
}
