/**
 * 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.pojo.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springblade.core.tenant.mp.TenantEntity;

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

/**
 * 司机管理实体类
 *
 * @author Chill
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("blade_transport_driver")
@Schema(description = "司机管理")
public class Driver extends TenantEntity {

	@Serial
	private static final long serialVersionUID = 1L;

	/**
	 * 司机姓名
	 */
	@Schema(description = "司机姓名")
	private String driverName;
	/**
	 * 身份证号
	 */
	@Schema(description = "身份证号")
	private String idCardNo;
	/**
	 * 出生年月
	 */
	@Schema(description = "出生年月")
	private LocalDate birthday;
	/**
	 * 性别
	 */
	@Schema(description = "性别")
	private String gender;
	/**
	 * 民族
	 */
	@Schema(description = "民族")
	private String nation;
	/**
	 * 学历
	 */
	@Schema(description = "学历")
	private String education;
	/**
	 * 地址区划
	 */
	@Schema(description = "地址区划")
	private String addressRegion;
	/**
	 * 详细地址
	 */
	@Schema(description = "详细地址")
	private String address;
	/**
	 * 岗位，多个使用逗号分隔
	 */
	@Schema(description = "岗位，多个使用逗号分隔")
	private String posts;
	/**
	 * 身份证正面照
	 */
	@Schema(description = "身份证正面照")
	private String idCardFront;
	/**
	 * 身份证反面照
	 */
	@Schema(description = "身份证反面照")
	private String idCardBack;
	/**
	 * 大头照
	 */
	@Schema(description = "大头照")
	private String headPhoto;
	/**
	 * 准驾车型
	 */
	@Schema(description = "准驾车型")
	private String drivingType;
	/**
	 * 驾驶证档案编号
	 */
	@Schema(description = "驾驶证档案编号")
	private String drivingLicenseNo;
	/**
	 * 驾驶证有效期起
	 */
	@Schema(description = "驾驶证有效期起")
	private LocalDate drivingLicenseStartDate;
	/**
	 * 驾驶证有效期止
	 */
	@Schema(description = "驾驶证有效期止")
	private LocalDate drivingLicenseEndDate;
	/**
	 * 驾驶证长期有效
	 */
	@Schema(description = "驾驶证长期有效")
	private Integer drivingLicenseLongTerm;
	/**
	 * 驾驶证主页
	 */
	@Schema(description = "驾驶证主页")
	private String drivingLicenseFront;
	/**
	 * 驾驶证副页
	 */
	@Schema(description = "驾驶证副页")
	private String drivingLicenseBack;
	/**
	 * 从业资格证类型
	 */
	@Schema(description = "从业资格证类型")
	private String qualificationType;
	/**
	 * 资格证号
	 */
	@Schema(description = "资格证号")
	private String qualificationNo;
	/**
	 * 从业资格证有效期止
	 */
	@Schema(description = "从业资格证有效期止")
	private LocalDate qualificationEndDate;
	/**
	 * 从业资格证长期有效
	 */
	@Schema(description = "从业资格证长期有效")
	private Integer qualificationLongTerm;
	/**
	 * 从业资格证封面页
	 */
	@Schema(description = "从业资格证封面页")
	private String qualificationFront;
	/**
	 * 从业资格证内容页
	 */
	@Schema(description = "从业资格证内容页")
	private String qualificationBack;
	/**
	 * 司机类型
	 */
	@Schema(description = "司机类型")
	private String driverType;
	/**
	 * 手机号
	 */
	@Schema(description = "手机号")
	private String mobile;
	/**
	 * 与联系人关系
	 */
	@Schema(description = "与联系人关系")
	private String contactRelation;
	/**
	 * 所属组织
	 */
	@Schema(description = "所属组织")
	private String organizationName;
	/**
	 * 紧急联系人姓名
	 */
	@Schema(description = "紧急联系人姓名")
	private String emergencyContactName;
	/**
	 * 紧急联系人手机号
	 */
	@Schema(description = "紧急联系人手机号")
	private String emergencyContactMobile;
	/**
	 * 备注
	 */
	@Schema(description = "备注")
	private String remark;

}
