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

/**
 * ETC记录 Excel
 *
 * @author Chill
 */
@Data
@ColumnWidth(22)
@HeadRowHeight(20)
@ContentRowHeight(18)
public class EtcRecordExcel implements Serializable {
	@Serial
	private static final long serialVersionUID = 1L;

	@ExcelIgnore
	private Long id;

	@ExcelProperty("*车牌号")
	private String vehicleNo;

	@ExcelProperty("入口时间")
	private LocalDateTime entryTime;

	@ExcelProperty("*ETC卡号")
	private String etcCardNo;

	@ExcelProperty("*出口时间")
	private LocalDateTime exitTime;

	@ExcelProperty("入口站")
	private String entryStation;

	@ExcelProperty("*交易金额")
	private BigDecimal transactionAmount;

	@ExcelProperty("出口站")
	private String exitStation;

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

	@ExcelIgnore
	private String errorMessage;

}
