package com.fs.store.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fs.common.annotation.Excel;
import lombok.Data;

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

@Data
public class FsStoreOrderItemExportVO implements Serializable
{

    private Long itemId;

    /** 订单号 */
    @Excel(name = "订单号")
    private String orderCode;

    @Excel(name = "订单状态", dictType = "store_order_status")
    private String status;

    @Excel(name = "会员ID")
    private Long userId;

    @Excel(name = "产品名称")
    private String productName;

    @Excel(name = "产品编码")
    private String barCode;


    @Excel(name = "规格")
    private String sku;

    @Excel(name = "产品数量")
    private Integer num;


    @Excel(name = "产品价格")
    private BigDecimal price;


    private String jsonInfo;

    /** 用户姓名 */
    @Excel(name = "收货人姓名")
    private String realName;

    /** 用户电话 */
    @Excel(name = "收货人电话")
    private String userPhone;

    /** 详细地址 */
    @Excel(name = "详细地址")
    private String userAddress;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "下单时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;
    /** 支付时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "支付时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date payTime;

    /** 快递公司编号 */
    @Excel(name = "快递公司编号")
    private String deliverySn;

    /** 快递名称/送货人姓名 */
    @Excel(name = "快递公司")
    private String deliveryName;

    /** 快递单号/手机号 */
    @Excel(name = "快递单号")
    private String deliveryId;

    @Excel(name = "所属公司")
    private String companyName;
    @Excel(name = "所属销售")
    private String companyUserNickName;

    @Excel(name = "套餐名称")
    private String packageName;

    @Excel(name = "组合码")
    private String groupBarCode;

    @Excel(name = "是否上传凭证 0：未上传 1：已上传")
    private Integer isUpload;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "上传时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date uploadTime;

    @Excel(name = "归属档期")
    private String scheduleName;


}
