package com.izouma.zhirongip.dto;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.metadata.BaseRowModel;
import com.izouma.zhirongip.utils.excel.LocalDateConverter;
import io.swagger.annotations.ApiModel;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDate;

@AllArgsConstructor
@NoArgsConstructor
@Data
@Builder
@ApiModel(value = "技术经理人")
public class ExpertDTO extends BaseRowModel {

    @ExcelProperty(value = "照片")
    private String avatar;

    @ExcelProperty(value = "姓名")
    private String name;

    @ExcelProperty(value = "性别")
    private String sex;

    @ExcelProperty(value = "出生年月", converter = LocalDateConverter.class)
    private LocalDate birthday;

    @ExcelProperty(value = "单位")
    private String work;

    @ExcelProperty(value = "学历")
    private String academicQualification;

    @ExcelProperty(value = "职称")
    private String jobTitle;

    @ExcelProperty(value = "职位")
    private String position;

    @ExcelProperty(value = "电话")
    private String phone;

    @ExcelProperty(value = "邮箱")
    private String email;

    @ExcelProperty(value = "通讯地址")
    private String address;

    @ExcelProperty(value = "个人简介")
    private String selfIntroduction;

    @ExcelProperty(value = "专业领域")
    private String fieldNames;

    @ExcelProperty(value = "研究方向")
    private String affiliationName;

}
