package com.ruoyi.ccdi.domain.excel;

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

import java.io.Serial;
import java.io.Serializable;

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

    @Serial
    private static final long serialVersionUID = 1L;

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

    /** 亲属身份证号 */
    @ExcelProperty(value = "亲属身份证号", index = 1)
    @ColumnWidth(20)
    private String relativeIdCard;

    /** 亲属手机号 */
    @ExcelProperty(value = "亲属手机号", index = 2)
    @ColumnWidth(15)
    private String relativePhone;

    /** 与员工关系 */
    @ExcelProperty(value = "与员工关系", index = 3)
    @ColumnWidth(15)
    private String relationship;
}
