package com.wzj.soopin.order.domain.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

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

/**
 * @author: Jinxin
 * @date: 2022/4/22 14:12
 * @Description:
 */
@Data
@Schema(description = "售后订单详情")
public class ManagerRefundOrderDetailVO {
    @Schema(description = "订单id")
    private Long orderId;

    @Schema(description = "订单号")
    private String orderSn;

    @Schema(description = "用户昵称")
    private String nickName;

    @Schema(description = "用户手机号")
    private String phone;

    @Schema(description = "下单时间")
    private LocalDateTime createTime;

    @Schema(description = "支付方式：0->未支付；1->支付宝；2->微信")
    private Integer payType;

    @Schema(description = "支付时间")
    private LocalDateTime payTime;

    @Schema(description = "订单状态：0->待付款；1->待发货；2->已发货；3->已完成；4->已关闭；5->无效订单")
    private Integer status;

    @Schema(description = "订单收获地址信息")
    private OrderAddressVO addressInfo;

    @Schema(description = "订单商品信息")
    private List<ManagerOrderProductVO> productList;

    @Schema(description = "售后信息")
    private List<RefundInfoVO> refundInfoList;

    @Schema(description = "退货时间")
    private LocalDateTime deliveryTime;

    @Schema(description = "物流单号")
    private String expressNo;

    @Schema(description = "物流名称")
    private String expressName;

    @Schema(description = "订单总金额")
    private BigDecimal totalAmount;

    @Schema(description = "应付金额（实际支付金额）")
    private BigDecimal payAmount;
}
