package com.ruoyi.app.flashdelivery.dto;

import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/** 用户和中单骑手共用的业务订单视图，不包含持久化及身份内部字段。 */
@Data
public class FlashDeliveryOrderView {
    private Long id;
    private String orderNo;
    private String serviceType;
    private String deliveryType;
    private String status;
    private String packageType;
    private Integer quantity;
    private BigDecimal totalWeightKg;
    private String specification;
    private String packageSize;
    private String deliveryMode;
    private Date scheduledPickupStartAt;
    private Date scheduledPickupEndAt;
    private Boolean pinRequired;
    private FlashDeliveryAddressView pickup;
    private FlashDeliveryAddressView delivery;
    private Integer distanceMeters;
    private String distanceSource;
    private Integer estimatedDurationSeconds;
    private Long baseDeliveryFee;
    private Long distanceFee;
    private Long urgentFee;
    private Long tipAmount;
    private Long amount;
    private String currency;
    private String userNote;
    private Date acceptedAt;
    private Date pickedUpAt;
    private Date deliveredAt;
    private Date completedAt;
    private Date cancelledAt;
    private String cancelReason;
    private Date createTime;
    private Date updateTime;
}
