/**
 * BladeX Commercial License Agreement
 * Copyright (c) 2018-2099, https://bladex.cn. All rights reserved.
 * <p>
 * Use of this software is governed by the Commercial License Agreement
 * obtained after purchasing a license from BladeX.
 * <p>
 * 1. This software is for development use only under a valid license
 * from BladeX.
 * <p>
 * 2. Redistribution of this software's source code to any third party
 * without a commercial license is strictly prohibited.
 * <p>
 * 3. Licensees may copyright their own code but cannot use segments
 * from this software for such purposes. Copyright of this software
 * remains with BladeX.
 * <p>
 * Using this software signifies agreement to this License, and the software
 * must not be used for illegal purposes.
 * <p>
 * THIS SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY. The author is
 * not liable for any claims arising from secondary or illegal development.
 * <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.time.LocalDate;

/**
 * 车辆管理 Excel
 *
 * @author Chill
 */
@Data
@ColumnWidth(18)
@HeadRowHeight(20)
@ContentRowHeight(18)
public class TransportVehicleExcel implements Serializable {

	@Serial
	private static final long serialVersionUID = 1L;

	@ExcelIgnore
	private Long id;

	@ExcelProperty("所属组织")
	private String organizationName;

	@ExcelProperty("车牌号")
	private String plateNo;

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

	@ExcelProperty("外廓长度(mm)")
	private Integer outerLength;

	@ExcelProperty("外廓宽度(mm)")
	private Integer outerWidth;

	@ExcelProperty("外廓高度(mm)")
	private Integer outerHeight;

	@ExcelProperty("核定载质量(KG)")
	private Integer approvedLoadKg;

	@ExcelProperty("准牵引总质量(KG)")
	private Integer tractionMassKg;

	@ExcelProperty("业务关系")
	private String businessRelation;

	@ExcelProperty("能源类型")
	private String energyType;

	@ExcelProperty("强制报废日期")
	private LocalDate compulsoryScrapDate;

	@ExcelProperty("强制报废长期有效")
	private String compulsoryScrapLongTermName;

	@ExcelProperty("海关备案号")
	private String customsRecordNo;

	@ExcelProperty("行驶证档案编号")
	private String drivingLicenseNo;

	@ExcelProperty("行驶证有效期起")
	private LocalDate drivingLicenseStartDate;

	@ExcelProperty("行驶证有效期止")
	private LocalDate drivingLicenseEndDate;

	@ExcelProperty("行驶证长期有效")
	private String drivingLicenseLongTermName;

	@ExcelProperty("道路运输证号")
	private String roadTransportCertNo;

	@ExcelProperty("道路运输证有效期起")
	private LocalDate roadTransportCertStartDate;

	@ExcelProperty("道路运输证有效期止")
	private LocalDate roadTransportCertEndDate;

	@ExcelProperty("道路运输证长期有效")
	private String roadTransportCertLongTermName;

	@ExcelProperty("道路运输年审有效期")
	private LocalDate annualReviewEndDate;

	@ExcelProperty("道路运输年审长期有效")
	private String annualReviewLongTermName;

	@ExcelProperty("机动车登记编号")
	private String registrationNo;

	@ExcelProperty("机动车登记日期")
	private LocalDate registrationDate;

	@ExcelProperty("状态")
	private String statusName;

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

}
