package com.ruoyi.ccdi.domain.excel;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.ruoyi.common.annotation.DictDropdown;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.util.Date;

/**
 * 员工信息Excel导入导出对象
 *
 * @author ruoyi
 * @date 2026-01-28
 */
@Data
public class CcdiEmployeeExcel implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /** 姓名 */
    @ExcelProperty(value = "姓名", index = 0)
    @ColumnWidth(15)
    private String name;

    /** 柜员号 */
    @ExcelProperty(value = "柜员号", index = 1)
    @ColumnWidth(15)
    private String tellerNo;

    /** 所属部门ID */
    @ExcelProperty(value = "所属部门ID", index = 2)
    @ColumnWidth(15)
    private Long deptId;

    /** 身份证号 */
    @ExcelProperty(value = "身份证号", index = 3)
    @ColumnWidth(20)
    private String idCard;

    /** 电话 */
    @ExcelProperty(value = "电话", index = 4)
    @ColumnWidth(15)
    private String phone;

    /** 入职时间 */
    @ExcelProperty(value = "入职时间", index = 5)
    @ColumnWidth(15)
    private Date hireDate;

    /** 状态 */
    @ExcelProperty(value = "状态", index = 6)
    @ColumnWidth(10)
    @DictDropdown(dictType = "dpc_employee_status")
    private String status;
}
