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;

@Data
@Schema(description = "后台订单详情对象")
public class  ManagerOrderDetailVO {
    @Schema(description = "订单id")
    private Long orderId;

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

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

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

    @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 orderStatus;

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

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

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

    @Schema(description = "收货时间")
    private LocalDateTime receiveTime;

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

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

    @Schema(description = "支付金额")
    private BigDecimal payAmount;

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

    @Schema(description = "优惠卷金额")
    private BigDecimal couponAmount;

    @Schema(description = "店铺名称")
    private String contactUserName;

    @Schema(description = "店铺手机号")
    private String contactPhone;
}
