/**
 * 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 DriverExcel implements Serializable {

	@Serial
	private static final long serialVersionUID = 1L;

	@ExcelIgnore
	private Long id;

	@ExcelProperty("司机姓名 *")
	private String driverName;

	@ExcelProperty("身份证号 *")
	private String idCardNo;

	@ExcelProperty("出生年月")
	private LocalDate birthday;

	@ExcelProperty("性别 *")
	private String gender;

	@ExcelProperty("民族")
	private String nation;

	@ExcelProperty("学历")
	private String education;

	@ExcelProperty("住址")
	private String address;

	@ExcelProperty("岗位 *")
	private String posts;

	@ExcelProperty("准驾车型 *")
	private String drivingType;

	@ExcelProperty("档案编号 *")
	private String drivingLicenseNo;

	@ExcelProperty("有效期 *")
	private LocalDate drivingLicenseEndDate;

	@ExcelProperty("驾驶证主页图片上传")
	private String drivingLicenseFront;

	@ExcelProperty("驾驶证副页图片上传")
	private String drivingLicenseBack;

	@ExcelProperty("从业资格证类型 *")
	private String qualificationType;

	@ExcelProperty("资格证编号 *")
	private String qualificationNo;

	@ExcelProperty("有效期 *")
	private LocalDate qualificationEndDate;

	@ExcelProperty("证件首页上传")
	private String qualificationFront;

	@ExcelProperty("证件内页上传")
	private String qualificationBack;

	@ExcelProperty("司机类型 *")
	private String driverType;

	@ExcelProperty("手机号 *")
	private String mobile;

	@ExcelProperty("紧急联系人姓名 *")
	private String emergencyContactName;

	@ExcelProperty("紧急联系人手机号 *")
	private String emergencyContactMobile;

	@ExcelProperty("与联系人关系")
	private String contactRelation;

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

}
