/**
 * BladeX Commercial License Agreement
 * Copyright (c) 2018-2099, https://bladex.cn. All rights reserved.
 * <p>
 * Use of this software is governed by the Commercial License Agreement
 * obtained after purchasing a license from BladeX.
 */
package org.springblade.transport.excel;

import cn.idev.excel.annotation.ExcelIgnore;
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;

/**
 * 常用线路导入 Excel
 *
 * @author Chill
 */
@Data
@ColumnWidth(24)
@HeadRowHeight(20)
@ContentRowHeight(18)
public class CommonRouteImportExcel implements Serializable {

	@Serial
	private static final long serialVersionUID = 1L;

	@ExcelProperty("*线路名称")
	private String routeName;

	@ExcelProperty("*发货地")
	private String departureName;

	@ExcelProperty("*发货地址")
	private String departureAddress;

	@ExcelProperty("发货联系人")
	private String departureContact;

	@ExcelProperty("发货联系方式")
	private String departurePhone;

	@ExcelProperty("*收货地")
	private String arrivalName;

	@ExcelProperty("*收货地址")
	private String arrivalAddress;

	@ExcelProperty("收货联系人")
	private String arrivalContact;

	@ExcelProperty("收货联系方式")
	private String arrivalPhone;

	@ExcelProperty("备注")
	private String remark;

	@ExcelIgnore
	private String errorMessage;

}
