package cn.iocoder.yudao.module.knowledge.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import cn.iocoder.yudao.framework.mybatis.core.dataobject.BaseDO;
import cn.iocoder.yudao.module.knowledge.annotation.ExcelOut;
import io.swagger.v3.oas.annotations.media.Schema;
import io.swagger.v3.oas.models.security.SecurityScheme;
import lombok.Data;

import java.util.Date;

/**
 * @packageName:cn.iocoder.yudao.module.knowledge.entity
 * @className:TSpecialist
 * @Description:
 * @author:韩维杰
 * @date 2024/4/30 16:50
 **/
@Data
@TableName(value = "t_specialist")
@Schema(description = "专家列表信息")
public class TSpecialist extends BaseDO{

    @Schema(description = "主键id", example = "1")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @Schema(description = "人员姓名",example = "张三")
    @ExcelOut(name = "人员姓名", sort = 1, width = 20)
    private String username;

    @Schema(description = "人员编码",example = "001")
    @ExcelOut(name = "人员编码", sort = 2, width = 20)
    private String usercode;

    @Schema(description = "邮箱",example = "12345678901@qq.com")
    @ExcelOut(name = "邮箱", sort = 3, width = 20)
    private String email;

    @Schema(description = "手机号",example = "12345678901")
    @ExcelOut(name = "手机号", sort = 4, width = 20)
    private String phone;

    @Schema(description = "性别",example = "男")
    @ExcelOut(name = "性别", sort = 5, width = 20, dateFormat = "1=男,2=女")
    private String sex;

    @Schema(description = "",example = "")
    private String headPortrait;

    @Schema(description = "学历",example = "本科")
    @ExcelOut(name = "学历", sort = 6, width = 20)
    private String educationBackground;

    @Schema(description = "介绍",example = "这是一段介绍")
    @ExcelOut(name = "介绍", sort = 7, width = 20)
    private String introduce;

    @Schema(description = "领域专家",example = "001")
    private String domainExpert;

    @Schema(description = "职位",example = "暂无")
    @ExcelOut(name = "职位", sort = 9, width = 20)
    private String post;

    @Schema(description = "",example = "")
    private Long expertId;


    @ExcelOut(name = "领域专家", sort = 8, width = 20)
    @TableField(exist = false)
    private String tagName;

}
