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;

/**
 * @author MixLiu
 * @date 2025/12/4 上午11:43)
 */

@Data
public class FsStoreOrderItemExportZMVO implements Serializable  {


    private Long itemId;

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

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

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

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

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


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

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


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

    @Excel(name = "成本单价",sort =80)
    private BigDecimal cost;
    @Excel(name = "结算价",sort =90)
    private BigDecimal FPrice;

    @Excel(name = "实付金额",sort =91)
    private BigDecimal payMoney;

    @Excel(name = "额外运费",sort =100)
    private BigDecimal payPostage;
    private Integer totalNum;
    @Excel(name = "商品分类",sort =100)
    private String cateName;


    private String jsonInfo;

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

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

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

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

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

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

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

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

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

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

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

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

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

    //银行交易流水号
    @Excel(name = "银行交易流水号",sort = 240)
    private String bankTransactionId;


}
