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

import java.io.Serial;
import java.io.Serializable;
import java.time.LocalDate;

/**
 * 设备台账 Excel
 *
 * @author Chill
 */
@Data
public class EquipmentLedgerExcel implements Serializable {
	@Serial private static final long serialVersionUID = 1L;
	@ExcelProperty("*车船类型") private String vehicleType;
	@ExcelProperty("*车牌号/船号") private String vehicleNo;
	@ExcelProperty("*设备号") private String equipmentCode;
	@ExcelProperty("*设备名称") private String equipmentName;
	@ExcelProperty("设备品牌") private String equipmentBrand;
	@ExcelProperty("设备类型") private String equipmentType;
	@ExcelProperty("规格型号") private String specificationModel;
	@ExcelProperty("出厂日期") @DateTimeFormat("yyyy-MM-dd") private LocalDate factoryDate;
	@ExcelProperty("备注") private String remark;
	@ExcelIgnore private String errorMessage;
}
