package com.djhk.uav.airspace.domain;


import com.djhk.common.annotation.Excel;
import com.djhk.common.core.domain.BaseEntity;
import com.djhk.uav.uav.model.UavOperatorAbility;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.web.multipart.MultipartFile;

import java.util.Date;
import java.util.List;
import java.util.Map;

/**
 * 飞手管理对象 uav_operator
 *
 * @author jiachengshuai
 * @date 2022-08-30
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class UavOperator extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 无人机飞手管理表主键 */
    private Long id;

    /** 用户表主键 */
    private Long userId;

    /** 姓名 */
    @Excel(name = "姓名")
    private String userName;

    /** 警号 */
    @Excel(name = "警号")
    private String policeNo;

    /** 性别（0：男 1：女） */
    @Excel(name = "性别", readConverterExp = "0=男,1=女")
    private String sex;

    /** 出生日期 */
    @Excel(name = "出生日期")
    private String celebrateDate;

    /** 所属部门 */
    @Excel(name = "所属部门")
    private String deptName;

    /** 警察类型（0：民警 1：辅警） */
    @Excel(name = "警察类型", readConverterExp = "0=民警,1=辅警")
    private String policeType;

    /** 岗位类型 */
    @Excel(name = "岗位类型",readConverterExp = "0=警务应用,1=技术防控,2=指挥人员")
    private String jobType;

    /** 证书类型 */
    @Excel(name = "证书类型",readConverterExp = "0=警航证书A1,1=警航证书B1,2=警航证书A2,3=警航证书B2,4=警航证书C,5=CAAC固定翼,6=CAAC多旋翼,7=CAAC垂起固定翼,8=CAAC直升机")
    private String certificateType;

    /** 证书编号 */
    @Excel(name = "证书编号")
    private String certificateNo;

    /** 飞手联系方式 */
    @Excel(name = "飞手联系方式")
    private String tel;

    /** 备注 */
    @Excel(name = "备注")
    private String remark;


    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;


    /** 最后一次执行任务时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
//    @Excel(name = "最后一次执行任务时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date planTime;

    private String status;

    /** 邮箱 */
//    @Excel(name = "邮箱")
    private String email;

    /** 飞手类型 */
//    @Excel(name = "飞手类型",readConverterExp = "0=多旋翼飞手,1=固定翼飞手,2=直升机飞手,3=其他")
    private String operatorType;

    /** 证书名称 */
//    @Excel(name = "证书名称")
    private String certificateName;


    /** 证书文件id */
//    @Excel(name = "证书文件id")
    private String certificateFileId;

    /** 场景分类 */
//    @Excel(name = "场景分类")
    private String sceneType;

    /** 场景名称 */
//    @Excel(name = "场景名称")
    private String sceneName;

    /** 应用id */
    private String appId;

    /** 组织id */
    private Long deptId;

    /** 圖片url */
    private String picUrl;

    private List<String> celebrateDateRage;

    /** 能力名称 */
  
    private String abilityName;

    /** 能力名称 */
  
    private String appName;

  
    private List<String> abilityNameList;
    

  
    private Map<String,String> certificateMap;

  
    private MultipartFile file;

  
    private String certificateFilePath;

  
    private List<String> operatorTypeList;

  
    private List<String> operatorTypes;

    List<UavOperatorAbility> operatorAbilityList;

}
