package com.ruoyi.dpc.domain;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.ruoyi.common.annotation.Excel;
import lombok.Data;

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

/**
 * 员工亲属对象 dpc_employee_relative
 *
 * @author ruoyi
 * @date 2026-01-28
 */
@Data
public class DpcEmployeeRelative implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /** 亲属ID */
    @TableId(type = IdType.AUTO)
    private Long relativeId;

    /** 员工ID */
    private Long employeeId;

    /** 亲属姓名 */
    @Excel(name = "亲属姓名")
    private String relativeName;

    /** 亲属身份证号 */
    @Excel(name = "亲属身份证号")
    private String relativeIdCard;

    /** 亲属手机号 */
    @Excel(name = "亲属手机号")
    private String relativePhone;

    /** 与员工关系 */
    @Excel(name = "与员工关系")
    private String relationship;

    /** 创建者 */
    @TableField(fill = FieldFill.INSERT)
    private String createBy;

    /** 创建时间 */
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;

    /** 更新者 */
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private String updateBy;

    /** 更新时间 */
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;
}
