package com.yami.shop.bean.dto;

import com.yami.shop.bean.model.OrderItem;
import com.yami.shop.bean.model.OrderRefund;
import com.yami.shop.bean.model.OrderRefundRecord;
import com.yami.shop.bean.model.RefundDelivery;
import lombok.Data;
import lombok.EqualsAndHashCode;

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

@Data
@EqualsAndHashCode(callSuper = false)
public class OrderRefundDto extends OrderRefund implements Serializable {

    private Long refundId;

    private String orderNumber;

    private String refundSn;

    private Double orderAmount;

    private Long settlementId;

    private String orderPayNo;

    private RefundDelivery refundDelivery;

    private Long shopId;

    private String shopName;

    private Date orderPayTime;

    private Integer applyType;

    private List<OrderItem> orderItems = new ArrayList<>();

    private List<OrderRefundRecord> records = new ArrayList<>();

    private String refundStatus;

    private Integer status;

    private Integer orderType;

    private Integer dvyType;

    private Boolean isCancel;

    private Double freightAmount = 0.0;

    private Long offsetPoints = 0L;

    private Double goodsTotal;

    private Long refundExpiredScore = 0L;

    private Double memberDiscountAmount = 0.0;

    private String memberDiscountDesc;
}
