package com.fs.hisStore.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 FsStoreOrderPromotionItemExportVO implements Serializable
{

    private Long itemId;

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

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

    //发起人
    @Excel(name = "发起人")
    private String initiator;

    //推广人昵称
    @Excel(name = "推广人昵称")
    private String tuiNickName;

    /** 用户昵称 */
    @Excel(name = "用户昵称")
    private String userNickName;


    private String jsonInfo;

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

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

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

    /** 订单总价 */
    @Excel(name = "商品金额",cellType= Excel.ColumnType.NUMERIC)
    private BigDecimal totalPrice;

    /** 实际支付金额 */
    @Excel(name = "应付金额",cellType= Excel.ColumnType.NUMERIC)
    private BigDecimal payPrice;

    @Excel(name = "实付金额",cellType= Excel.ColumnType.NUMERIC)
    private BigDecimal payMoney;

    /** 优惠券金额 */
    @Excel(name = "优惠券金额",cellType= Excel.ColumnType.NUMERIC)
    private BigDecimal couponPrice;

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

    @Excel(name = "商品成本")
    private BigDecimal cost;

}
