package com.jeesharp.business.modules.food.vo;

import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDate;
import java.time.LocalDateTime;
import java.util.List;

@Data
public class FoodPersonalMealOrderVO {

    private String id;

    private String orderNo;

    private String restaurantId;

    private String restaurantName;

    private String serviceAreaId;

    private String serviceAreaName;

    private String menuId;

    private LocalDate mealDate;

    private String mealType;

    private BigDecimal totalAmount;

    private BigDecimal userPayAmount;

    private String orderStatus;

    private String payStatus;

    private String pickupCode;

    private LocalDateTime payTime;

    private LocalDateTime cancelTime;

    private String cancelReason;

    private BigDecimal refundAmount;

    private LocalDateTime refundApplyTime;

    private String refundReason;

    private LocalDateTime refundTime;

    private LocalDateTime verifyTime;

    private String verifyUserId;

    private String verifyUserName;

    private String deliveryType;

    private String addressId;

    private String receiverName;

    private String receiverMobile;

    private String province;

    private String provinceCode;

    private String city;

    private String cityCode;

    private String district;

    private String districtCode;

    private String detailAddress;

    private String fullAddress;

    private BigDecimal longitude;

    private BigDecimal latitude;

    private String remark;

    private LocalDateTime createDate;

    private List<Item> items;

    @Data
    public static class Item {

        private String id;

        private String menuItemId;

        private String specId;

        private String specName;

        private String specDescription;

        private String itemType;

        private String itemName;

        private String itemImage;

        private BigDecimal salePrice;

        private Integer quantity;

        private BigDecimal totalAmount;
    }
}
