package jnpf.model.personnels.po;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import jnpf.base.entity.SuperEntity;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 员工成长表
 *
 * @author admin
 * @create 2024-02-01
 */

@Getter
@Setter
@NoArgsConstructor
@EqualsAndHashCode(callSuper = true)
@TableName(value = "ftb_personnels_staff_growth_log")
public class FtbPersonnelsStaffGrowthLog extends SuperEntity.SuperCUBaseEntity<String> implements Serializable {

    /**
     * 用户id
     */
    @TableField(value = "F_UserId")
    private String userId;

    /**
     * 日期
     */
    @TableField(value = "F_ChangeDate")
    private Date changeDate;

    /**
     * 详细信息，json字符串
     */
    @TableField(value = "F_Detail")
    private String detail;

    /**
     * 备注
     */
    @TableField(value = "F_Remarks")
    private String remarks;

    /**
     * 内容
     */
    @TableField(value = "F_Title")
    private String title;


    /**
     * 类型  0, "新入职（确认到岗）
     * 1, "转正"
     * 2, "调岗"
     * 3, "确认到岗重复入职
     * 4, "离职"
     */
    @TableField(value = "F_GrowthType")
    private Integer growthType;


    /**
     * 入职次数
     */
    @TableField(value = "F_Num")
    private Integer num;

    /**
     * 入职薪酬
     */
    @TableField(value = "F_StartSalary")
    private BigDecimal startSalary;

    /**
     *实际入职日期
     */
    @TableField(value = "F_ActualStartDate")
    private Date actualStartDate;

    /**
     *
     *员工Id
     */
    @TableField(value = "F_EmployeeId")
    private String employeeId;
}
