package com.fdkankan.platform.user.vo;

import com.alibaba.fastjson.annotation.JSONField;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

@Data
public class ResponseOrder implements Serializable {

    private static final long serialVersionUID = 834859493610695062L;

    private Long id;

   //(value = "订单编号", name = "orderSn")
    private String orderSn;

   //(value = "下单时间", name = "orderTime")
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private Date orderTime;

   //(value = "用户名", name = "userName")
    private String userName;

   //(value = "订单总额", name = "totalAmount")
    private BigDecimal totalAmount;

   //(value = "支付方式：0表示微信，1表示支付宝，2表示paypal，3表示其他，4表示货到付款", name = "paymentTypeName")
    private Integer paymentTypeName;

   //(value = "订单状态（未处理、已确认、已完成、已取消）", name = "orderStatus")
    private String orderStatus;

   //(value = "付款状态（未付款、已付款、已取消, 部分支付, 部分退款, 全额退款）", name = "paymentStatus")
    private String paymentStatus;

   //(value = "配送状态（未发货、部分发货、已发货、部分退货、已退货、已收货）", name = "shippingStatus")
    private String shippingStatus;

   //(value = "商品总额", name = "goodsAmount")
    private BigDecimal goodsAmount;

   //(value = "快递费", name = "expressAmount")
    private BigDecimal expressAmount;

   //(value = "订单完成时间", name = "finishTime")
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private Date finishTime;

   //(value = "交易号", name = "tradeNum")
    private String tradeNum;

   //(value = "收货人姓名", name = "shipName")
    private String shipName;

   //(value = "收货地址", name = "shipAddress")
    private String shipAddress;

   //(value = "收货手机", name = "shipMobile")
    private String shipMobile;

   //(value = "订单详情", name = "orderItems")
    private List<ResponseOrderItem> orderItems;

   //(value = "发票", name = "invoice")
    private ResponseInvoice invoice;

    private String shipAreaPath;

    private int orderCount;

    private int abroad;

    private Long userId;
    //相机snCode
    private String snCode;
}