package com.cyl.manager.oms.pojo.vo;

import com.cyl.manager.marketing.domain.WechatMemberCoupon;
import com.cyl.manager.oms.domain.OmsOrderService;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.annotation.Excels;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

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

@Data
@ApiModel("后台订单详情对象")
public class ManagerOrderDetailVO {
    @ApiModelProperty("订单id")
    private Long orderId;
    @ApiModelProperty("订单编号")
    private String orderSn;
    @ApiModelProperty("用户昵称")
    private String userName;
    @ApiModelProperty("用户手机号")
    private String userPhone;
    @ApiModelProperty("下单时间")
    private LocalDateTime createTime;
    @ApiModelProperty("支付方式：0->未支付；1->支付宝；2->微信")
    private Integer payType;
    @ApiModelProperty("支付时间")
    private LocalDateTime payTime;
    @ApiModelProperty("订单状态：0->待付款；1->待发货；2->已发货；3->已完成；4->已关闭；5->无效订单")
    private Integer orderStatus;
    @ApiModelProperty("订单收获地址信息")
    private ManagerOrderAddressVo addressInfo;
    @ApiModelProperty("订单商品信息")
    private List<ManagerOrderProductVO> productInfo;
    @ApiModelProperty("发货时间")
    private LocalDateTime deliveryTime;
    @ApiModelProperty("收货时间")
    private LocalDateTime receiveTime;
    @ApiModelProperty("物流单号")
    private String expressNo;
    @ApiModelProperty("物流名称")
    private String expressName;
    @ApiModelProperty("支付金额")
    private BigDecimal payAmount;
    @ApiModelProperty("订单金额")
    private BigDecimal totalAmount;

    @ApiModelProperty(name = "orderService", value = "订单服务信息")
    private OmsOrderService orderService;
    @ApiModelProperty(name = "orderServiceList", value = "订单服务列表")
    private List<OmsOrderService> orderServiceList;

    /**
     * add by dxd
     */
    @ApiModelProperty("是否提前熟悉")
    private Boolean needPreFamiliarize;
    @ApiModelProperty("优惠券")
    private Integer wechatMemberCouponId;
    @ApiModelProperty(name = "wechatMemberCoupon", value = "优惠券信息")
    private WechatMemberCoupon wechatMemberCoupon;
}
