package com.ruoyi.mall.domain.vo;

import com.ruoyi.common.annotation.Excel;
import lombok.Data;

import java.math.BigDecimal;

/**
 * @ClassName MallOrderGoodsVO
 * @Description 导出订单（商品）
 * @Author linlinee
 * @Date 2021/12/9 11:52 AM
 * @Version 1.0
 **/
@Data
public class MallOrderGoodsExportVO {

    private static final long serialVersionUID = 1L;

    /** 销售时间 */
    @Excel(name = "销售时间")
    private String createAt;

    /** 销售单号 */
    @Excel(name = "销售单号")
    private String orderNo;

    /** 商品名称 */
    @Excel(name = "商品名称")
    private String goodsName;

    /** 规格 */
    @Excel(name = "规格")
    private String spec;

    /** 单位 */
    @Excel(name = "单位")
    private String productName;

    /** 数量 */
    @Excel(name = "数量")
    private Integer total;

    /** 售价 */
    @Excel(name = "售价")
    private BigDecimal price;

    /** 总金额 */
    @Excel(name = "总金额")
    private BigDecimal totalPrice;
    /** 积分 */
    @Excel(name = "积分")
    private BigDecimal integral;

    /** 客户 */
    @Excel(name = "客户")
    private String userName;

    /** 业务员 */
    @Excel(name = "业务员")
    private String salesmanName;

    /** 订单类型（0-普通订单，1-秒杀订单，2-拼团订单） */
    @Excel(name = "订单类型",readConverterExp = "0=普通订单,1=秒杀订单，2=拼团订单")
    private Integer orderType;

    /** 配送方式：0-快递，1-自提 */
    @Excel(name = "订单类型",readConverterExp = "0=快递,1=自提")
    private Integer deliveryType;

    /** 收件人/自提点名 */
    @Excel(name = "收件人/自提点名")
    private String receiverName;

    /** 手机号/自提点电话 */
    @Excel(name = "手机号/自提点电话")
    private String receiverPhone;

    /** 省份 */
    @Excel(name = "省份")
    private String receiverProvince;

    /** 城市 */
    @Excel(name = "城市")
    private String receiverCity;

    /** 区县 */
    @Excel(name = "区县")
    private String receiverArea;

    /** 地址 */
    @Excel(name = "地址")
    private String receiverAddress;

    @Excel(name = "所属商家")
    private String shopName;

    /** 提成 */
    @Excel(name = "提成")
    private BigDecimal commission;


}
