/**
 * BladeX Commercial License Agreement
 * Copyright (c) 2018-2099, https://bladex.cn. All rights reserved.
 */
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.time.LocalDate;
import java.time.LocalDateTime;

/**
 * 配载管理 Excel
 *
 * @author Chill
 */
@Data
@ColumnWidth(22)
@HeadRowHeight(20)
@ContentRowHeight(18)
public class LoadingManageExcel implements Serializable {

	@Serial
	private static final long serialVersionUID = 1L;

	@ExcelProperty("配载单号")
	private String loadingNo;
	@ExcelProperty("配载子单号")
	private String loadingSubNos;
	@ExcelProperty("项目名称")
	private String projectName;
	@ExcelProperty("客户名称")
	private String customerName;
	@ExcelProperty("运输类型")
	private String transportType;
	@ExcelProperty("货物类型")
	private String cargoType;
	@ExcelProperty("货物名称")
	private String cargoName;
	@ExcelProperty("车/船/航班/班列")
	private String vehicleNo;
	@ExcelProperty("司机")
	private String driverName;
	@ExcelProperty("联系电话")
	private String driverPhone;
	@ExcelProperty("承运类型")
	private String carrierType;
	@ExcelProperty("承运商")
	private String carrierName;
	@ExcelProperty("发货地址")
	private String departureAddress;
	@ExcelProperty("途经地")
	private String transitAddress;
	@ExcelProperty("到货地")
	private String arrivalAddress;
	@ExcelProperty("原始单号")
	private String originalNo;
	@ExcelProperty("数据来源")
	private String dataSource;
	@ExcelProperty("开始日期")
	private LocalDate startDate;
	@ExcelProperty("结束日期")
	private LocalDate endDate;
	@ExcelProperty("计划名称")
	private String planName;
	@ExcelProperty("运单批次号")
	private String batchNo;
	@ExcelProperty("当前过程节点")
	private String currentProcessNode;
	@ExcelProperty("里程")
	private String mileage;
	@ExcelProperty("预计发货日期")
	private LocalDate estimatedStartDate;
	@ExcelProperty("预计完成日期")
	private LocalDate estimatedEndDate;
	@ExcelProperty("任务备注")
	private String taskRemark;
	@ExcelProperty("业务状态")
	private String businessStatus;
	@ExcelProperty("所属组织")
	private String deptName;
	@ExcelProperty("创建人")
	private String createUserName;
	@ExcelProperty("更新人")
	private String updateUserName;
	@ExcelProperty("创建时间")
	private LocalDateTime createTime;
	@ExcelProperty("更新时间")
	private LocalDateTime updateTime;

	@ExcelIgnore
	private String errorMessage;

}
