package com.ruoyi.app.flashdelivery.dto;

import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.List;

/** App 订单详情；data 直接序列化本对象，不再套 order/images/logs。 */
@Data
@EqualsAndHashCode(callSuper = true)
public class FlashDeliveryOrderDetailView extends FlashDeliveryOrderView {
    private List<String> senderImageUrls = List.of();
    private List<String> pickupImageUrls = List.of();
    private List<String> deliveryImageUrls = List.of();
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private FlashDeliveryRiderSummaryView rider;
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private String deliveryPinCode;
}
