package com.ruoyi.logistics.domain.dto;


import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.alibaba.excel.annotation.write.style.HeadRowHeight;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
@HeadRowHeight(20)
@ExcelIgnoreUnannotated
@Data
public class SfOrderImportDTO implements Serializable {
    private static final long serialVersionUID = 1L;
    private String waybillNo;
    @ExcelProperty(value = "寄件人姓名", order = 0)
    @ColumnWidth(15)
    private String senderName;
    @ExcelProperty(value = "寄件人电话", order = 1)
    @ColumnWidth(15)
    private String senderPhone;
    /** 发件省 */
    private String senderProvince;
    /** 发件市 */
    private String senderCity;
    /** 发件区县 */
    private String senderCounty;
    @ExcelProperty(value = "寄件详细地址", order = 2)
    @ColumnWidth(30)
    private String senderAddress;
    @ExcelProperty(value = "收件人姓名", order = 3)
    @ColumnWidth(15)
    private String receiverName;
    @ExcelProperty(value = "收件人电话", order = 4)
    @ColumnWidth(15)
    private String receiverPhone;
    /** 收件省 */
    private String receiverProvince;
    /** 收件市 */
    private String receiverCity;
    /** 收件区县 */
    private String receiverCounty;
    @ExcelProperty(value = "收件详细地址", order = 5)
    @ColumnWidth(30)
    private String receiverAddress;
    @ExcelProperty(value = "物品名称", order = 6)
    @ColumnWidth(15)
    private String goodsName;
    @ExcelProperty(value = "物品重量(KG)", order = 7)
    @ColumnWidth(20)
    private BigDecimal goodsWeight;
    @ExcelProperty(value = "物品体积(m³)", order = 8)
    @ColumnWidth(20)
    private BigDecimal goodsVolume;
    @ExcelProperty(value = "物品数量(件)", order = 9)
    @ColumnWidth(20)
    private Long goodsQty;
    /** 上门取件开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date sendStartTime;
    @ExcelProperty(value = "产品类型", order = 10)
    @ColumnWidth(15)
    private String productCode;
    @ExcelProperty(value = "保价金额(元)", order = 11)
    @ColumnWidth(20)
    private String protecPrice;

}
