|
|
@@ -0,0 +1,159 @@
|
|
|
+/*
|
|
|
+ * Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
|
|
|
+ *
|
|
|
+ * Redistribution and use in source and binary forms, with or without
|
|
|
+ * modification, are permitted provided that the following conditions are met:
|
|
|
+ *
|
|
|
+ * Redistributions of source code must retain the above copyright notice,
|
|
|
+ * this list of conditions and the following disclaimer.
|
|
|
+ * Redistributions in binary form must reproduce the above copyright
|
|
|
+ * notice, this list of conditions and the following disclaimer in the
|
|
|
+ * documentation and/or other materials provided with the distribution.
|
|
|
+ * Neither the name of the dreamlu.net developer nor the names of its
|
|
|
+ * contributors may be used to endorse or promote products derived from
|
|
|
+ * this software without specific prior written permission.
|
|
|
+ * Author: Chill 庄骞 (smallchill@163.com)
|
|
|
+ */
|
|
|
+package org.springblade.client.land.excel;
|
|
|
+
|
|
|
+import com.alibaba.excel.annotation.ExcelProperty;
|
|
|
+import com.alibaba.excel.annotation.write.style.ColumnWidth;
|
|
|
+import com.alibaba.excel.annotation.write.style.ContentRowHeight;
|
|
|
+import com.alibaba.excel.annotation.write.style.HeadRowHeight;
|
|
|
+import lombok.Data;
|
|
|
+
|
|
|
+import java.io.Serializable;
|
|
|
+import java.math.BigDecimal;
|
|
|
+import java.util.Date;
|
|
|
+
|
|
|
+/**
|
|
|
+ * 陆运车辆Excel
|
|
|
+ *
|
|
|
+ * @author BladeX
|
|
|
+ * @since 2022-03-08
|
|
|
+ */
|
|
|
+@Data
|
|
|
+@ColumnWidth(25)
|
|
|
+@HeadRowHeight(20)
|
|
|
+@ContentRowHeight(18)
|
|
|
+public class VehicleExcel implements Serializable {
|
|
|
+
|
|
|
+ private static final long serialVersionUID = 1L;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 所属车队
|
|
|
+ */
|
|
|
+ @ExcelProperty(value = "所属车队")
|
|
|
+ private String fleetName;
|
|
|
+ /**
|
|
|
+ * 所属司机
|
|
|
+ */
|
|
|
+ @ExcelProperty(value = "所属司机")
|
|
|
+ private String driverName;
|
|
|
+ /**
|
|
|
+ * 车牌号
|
|
|
+ */
|
|
|
+ @ExcelProperty(value = "车牌号")
|
|
|
+ private String plateNo;
|
|
|
+ /**
|
|
|
+ * 挂车号
|
|
|
+ */
|
|
|
+ @ExcelProperty(value = "挂车号")
|
|
|
+ private String trailerNo;
|
|
|
+ /**
|
|
|
+ * 燃油类型
|
|
|
+ */
|
|
|
+ @ExcelProperty(value = "燃油类型")
|
|
|
+ private String fuelType;
|
|
|
+ /**
|
|
|
+ * 车辆类型
|
|
|
+ */
|
|
|
+ @ExcelProperty(value = "车辆类型")
|
|
|
+ private String type;
|
|
|
+ /**
|
|
|
+ * 品牌
|
|
|
+ */
|
|
|
+ @ExcelProperty(value = "品牌")
|
|
|
+ private String brand;
|
|
|
+ /**
|
|
|
+ * 制造单位
|
|
|
+ */
|
|
|
+ @ExcelProperty(value = "制造单位")
|
|
|
+ private String manufacturer;
|
|
|
+ /**
|
|
|
+ * 发证机关
|
|
|
+ */
|
|
|
+ @ExcelProperty(value = "发证机关")
|
|
|
+ private String issuingAuthority;
|
|
|
+ /**
|
|
|
+ * 牵引车辆型号
|
|
|
+ */
|
|
|
+ @ExcelProperty(value = "牵引车辆型号")
|
|
|
+ private String towModel;
|
|
|
+ /**
|
|
|
+ * 牵引车车架号
|
|
|
+ */
|
|
|
+ @ExcelProperty(value = "牵引车车架号")
|
|
|
+ private String towVin;
|
|
|
+ /**
|
|
|
+ * 挂车型号
|
|
|
+ */
|
|
|
+ @ExcelProperty(value = "挂车型号")
|
|
|
+ private String trailerModel;
|
|
|
+ /**
|
|
|
+ * 挂车车架号
|
|
|
+ */
|
|
|
+ @ExcelProperty(value = "挂车车架号")
|
|
|
+ private String trailerVin;
|
|
|
+ /**
|
|
|
+ * 发动机型号
|
|
|
+ */
|
|
|
+ @ExcelProperty(value = "发动机型号")
|
|
|
+ private String engineModel;
|
|
|
+ /**
|
|
|
+ * 核载人数
|
|
|
+ */
|
|
|
+ @ExcelProperty(value = "核载人数")
|
|
|
+ private Integer allowPassenger;
|
|
|
+ /**
|
|
|
+ * 购车日期
|
|
|
+ */
|
|
|
+ @ExcelProperty(value = "购车日期")
|
|
|
+ private Date purchaseDate;
|
|
|
+ /**
|
|
|
+ * 注册日期
|
|
|
+ */
|
|
|
+ @ExcelProperty(value = "注册日期")
|
|
|
+ private Date registerDate;
|
|
|
+ /**
|
|
|
+ * 报废日期
|
|
|
+ */
|
|
|
+ @ExcelProperty(value = "报废日期")
|
|
|
+ private Date scrapDate;
|
|
|
+ /**
|
|
|
+ * 外廓尺寸(mm)
|
|
|
+ */
|
|
|
+ @ExcelProperty(value = "外廓尺寸(mm)")
|
|
|
+ private BigDecimal oto;
|
|
|
+ /**
|
|
|
+ * 总重量(kg)
|
|
|
+ */
|
|
|
+ @ExcelProperty(value = "总重量(kg)")
|
|
|
+ private BigDecimal totalWeight;
|
|
|
+ /**
|
|
|
+ * 核定重量(kg)
|
|
|
+ */
|
|
|
+ @ExcelProperty(value = "核定重量(kg)")
|
|
|
+ private BigDecimal approvedWeight;
|
|
|
+ /**
|
|
|
+ * 装备重量(kg)
|
|
|
+ */
|
|
|
+ @ExcelProperty(value = "装备重量(kg)")
|
|
|
+ private BigDecimal equipmentWeight;
|
|
|
+ /**
|
|
|
+ * 备注
|
|
|
+ */
|
|
|
+ @ExcelProperty(value = "备注")
|
|
|
+ private String remarks;
|
|
|
+
|
|
|
+}
|