/**
 * 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.
 * <p>
 * 1. This software is for development use only under a valid license
 * from BladeX.
 * <p>
 * 2. Redistribution of this software's source code to any third party
 * without a commercial license is strictly prohibited.
 * <p>
 * Licensees may copyright their own code but cannot use segments
 * from this software for such purposes. Copyright of this software
 * remains with BladeX.
 * <p>
 * Using this software signifies agreement to this License, and the software
 * must not be used for illegal purposes.
 * <p>
 * Author: Chill Zhuang (bladejava@qq.com)
 */
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;
import java.math.BigDecimal;

/**
 * 运输计划导入 Excel
 *
 * @author Chill
 */
@Data
@ColumnWidth(22)
@HeadRowHeight(20)
@ContentRowHeight(18)
public class TransportPlanImportExcel implements Serializable {

	@Serial
	private static final long serialVersionUID = 1L;

	@ExcelProperty("*计划名称")
	private String planName;
	@ExcelProperty("*运输方式")
	private String transportType;
	@ExcelProperty("*计划开始日期")
	private String planStartDate;
	@ExcelProperty("*计划结束日期")
	private String planEndDate;
	@ExcelProperty("货物名称")
	private String cargoName;
	@ExcelProperty("*货物类型")
	private String cargoType;
	@ExcelProperty("数量")
	private BigDecimal quantity;
	@ExcelProperty("数量单位")
	private String quantityUnit;
	@ExcelProperty("包装")
	private String packageType;
	@ExcelProperty("品牌")
	private String brand;
	@ExcelProperty("规格")
	private String specification;
	@ExcelProperty("型号")
	private String model;
	@ExcelProperty("物料编码")
	private String materialCode;
	@ExcelProperty("设备编码")
	private String deviceCode;
	@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 remark;

	@ExcelIgnore
	private String errorMessage;

}
