package org.springblade.transport.excel;

import cn.idev.excel.annotation.ExcelProperty;
import cn.idev.excel.annotation.format.DateTimeFormat;
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.LocalDate;
import java.time.LocalDateTime;

/**
 * 其他费用记录导出 Excel
 *
 * @author Chill
 */
@Data
@ColumnWidth(22)
@HeadRowHeight(20)
@ContentRowHeight(18)
public class OtherExpenseRecordExportExcel implements Serializable {
	@Serial
	private static final long serialVersionUID = 1L;

	@ExcelProperty("车船类型")
	private String vehicleType;

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

	@ExcelProperty("费用日期")
	private LocalDate expenseDate;

	@ExcelProperty("费用类型")
	private String expenseType;

	@ExcelProperty("金额")
	private BigDecimal amount;

	@ExcelProperty("创建时间")
	@DateTimeFormat("yyyy-MM-dd HH:mm:ss")
	private LocalDateTime createTime;

	@ExcelProperty("更新人")
	private String updateUserName;

	@ExcelProperty("更新时间")
	@DateTimeFormat("yyyy-MM-dd HH:mm:ss")
	private LocalDateTime updateTime;

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