package com.xmomen.module.report.model;

import lombok.Data;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecgframework.poi.excel.annotation.ExcelEntity;
import org.jeecgframework.poi.excel.annotation.ExcelTarget;

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

/**
 * Created by tanxinzheng on 16/9/3.
 */
@ExcelTarget(value = "orderReport")
public @Data
class OrderDeliveryReport implements Serializable {

    // 下单日期
    @Excel(name = "下单日期" , exportFormat="yyyy-MM-dd", importFormat = "yyyy-MM-dd")
    private Date createTime;
    // 订单号
    @Excel(name = "订单号",width = 20)
    private String orderNo;
    // 快递商
    @Excel(name="快递商")
    private String expressName;
    // 收货人姓名
    @Excel(name = "收货人姓名",width = 15)
    private String consigneeName;
    // 收货人电话
    @Excel(name = "收货人电话",width = 15)
    private String consigneePhone;
    // 收货人地址
    @Excel(name = "收货人地址",width = 30)
    private String consigneeAddress;
    // 金额
    @Excel(name = "金额")
    private double totalAmount;
    // 付款方式
    @Excel(name = "付款方式")
    private String paymentModeDesc;
    // 付款金额
    @Excel(name = "付款金额",type = 10)
    private double payAmount;
    // 附加付款方式
    @Excel(name = "附加付款方式")
    private String otherPaymentModeDesc;
    // 附加付款金额
    @Excel(name = "附加付款金额",type = 10)
    private double otherPayAmount;
    // 送货日期
    @Excel(name = "送货日期" , exportFormat="yyyy-MM-dd", importFormat = "yyyy-MM-dd")
    private Date appointmentTime;
    // 备注
    @Excel(name = "备注",width = 30)
    private String remark;
    // 订单状态描述
    private String orderStatusDesc;
    // 总箱数
    private int totalBoxNum;
    // 快递扫描箱数
    private int expressScanBoxNum;
}
