package org.springblade.transport.excel;

import cn.idev.excel.annotation.ExcelProperty;
import cn.idev.excel.annotation.write.style.ColumnWidth;
import cn.idev.excel.annotation.write.style.ContentRowHeight;
import cn.idev.excel.annotation.write.style.HeadRowHeight;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.math.BigDecimal;

/**
 * 运单批量导入模板。
 */
@Data
@ColumnWidth(22)
@HeadRowHeight(28)
@ContentRowHeight(18)
public class WaybillImportBatchExcel implements Serializable {

	@Serial
	private static final long serialVersionUID = 1L;

	@ExcelProperty("原始单号")
	private String originalNo;
	@ExcelProperty("*车牌号/航班号/船号/班列号")
	private String vehicleNo;
	@ExcelProperty("*司机/船长")
	private String driverName;
	@ExcelProperty("*运输类型")
	private String transportType;
	@ExcelProperty("*货物名称")
	private String cargoName;
	@ExcelProperty("*货物类型")
	private String cargoType;
	@ExcelProperty("重量")
	private BigDecimal quantity;
	@ExcelProperty("*发货地址")
	private String departureAddress;
	@ExcelProperty("*发货联系人")
	private String departureContact;
	@ExcelProperty("*发货联系人电话")
	private String departurePhone;
	@ExcelProperty("*到货地址")
	private String arrivalAddress;
	@ExcelProperty("*到货联系人")
	private String arrivalContact;
	@ExcelProperty("*收货联系人电话")
	private String arrivalPhone;
	@ExcelProperty("*开始时间")
	private String startDate;
	@ExcelProperty("*结束时间")
	private String endDate;
	@ExcelProperty("*单价")
	private BigDecimal unitPrice;
	@ExcelProperty("*运费")
	private BigDecimal freight;
	@ExcelProperty("其他费用合计")
	private BigDecimal otherFeeTotal;
	@ExcelProperty("运费合计")
	private BigDecimal freightTotal;
	@ExcelProperty("备注")
	private String remark;

}
