package com.ruoyi.app.order.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

@Data
public class AdminOrderStatusContext {

    private Long id;
    private String ddId;
    private Long type;
    private String payType;
    private Long state;
    private Long deliveryStatus;
    private Long payStatus;
    private Long afterSaleStatus;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date sdTime;

    private Boolean riderAssigned = false;
    private List<Long> allowedOrderStates = new ArrayList<>();
    private List<Long> allowedDeliveryStatuses = new ArrayList<>();
    private Boolean canConfirmOfflinePayment = false;
    private Boolean canConfirmOfflineRefund = false;
    private Boolean canReconcileOmg = false;
    private Boolean canRefundOmg = false;
    private Boolean canConfirmManualOmgRefund = false;
    private Integer omgPaymentStatus;
    private Boolean manualRefundPending = false;
    private Boolean refundUnknown = false;
    private Long linePaymentId;
    private String linePaymentStatus;
    private String lineRefundStatus;
    private String lineTransactionId;
    private Boolean canReconcileLine = false;
    private Boolean canRefundLine = false;
}
