package com.ruoyi.oa.domain;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.EqualsAndHashCode;
import java.io.Serializable;
import java.util.Date;
import java.math.BigDecimal;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.domain.BaseEntity;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * 离职管理对象 employee_offboarding
 *
 * @author hdka
 * @date 2025-02-16
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("employee_offboarding")
public class EmployeeOffboarding extends BaseEntity {

    private static final long serialVersionUID=1L;

    /**
     * 离职记录ID
     */
    @TableId(value = "offboarding_id")
    private Long offboardingId;
    /**
     * 用户ID (外键)
     */
    private Long userId;
    /**
     * 离职日期
     */
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date resignationDate;
    /**
     * 离职面谈
     */
    private Integer exitInterview;
    /**
     * 工作交接
     */
    private Integer handoverCompleted;
    /**
     * 离职原因
     */
    private String exitReason;
    /**
     * 最终结算工资
     */
    private BigDecimal finalSalary;
    /**
     * 离职申请
     */
    private Integer resignationApplicationSubmitted;
    /**
     * 数据备份
     */
    private Integer dataBackupCompleted;
    /**
     * 是否已安排工作交接
     */
    private Integer handoverArranged;
    /**
     * 薪资结算是否完成
     */
    private Integer salarySettled;
    /**
     * 福利结算是否完成
     */
    private Integer benefitsSettled;
    /**
     * 离职证明
     */
    private Integer exitCertificateIssued;
    /**
     * 确认离职
     */
    private Integer offboardingConfirmed;
    /**
     * 备注
     */
    private String remark;
    /**
     * 删除标识
     */
    @TableLogic
    private Integer delFlag;

}
