package jnpf.model.personnels.po;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import jnpf.base.entity.SuperBaseEntity;
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_post_apply")
public class FtbPersonnelsPostApply extends SuperBaseEntity.SuperCUDBaseEntity<String> implements Serializable {

    private static final long serialVersionUID = 776221484358933904L;



    /**
     * 申请人姓名
     */
    @TableField(value = "F_UserName")
    private String userName;

    /**
     * 申请人id
     */
    @TableField(value = "F_UserId")
    private String userId;

    /**
     * 系统展示申请人id
     */
    @TableField(value = "F_SystemWokerId")
    private String systemWokerId;
    /**
     *
     * 工号
     */
    @TableField(value = "F_JobNumber")
    private String jobNumber;
    /**
     * 手机号
     */
    @TableField(value = "F_PhoneNumber")
    private String phoneNumber;

    /**
     * 晋升原因
     */
    @TableField(value = "F_PromotionReason")
    private String promotionReason;

    /**
     * 薪酬是否符合(0,不符合,1符合)
     */
    @TableField(value = "F_PayCompliance")
    private String payCompliance;

    /**
     * 当前薪酬
     */
    @TableField(value = "F_CurrentPay")
    private BigDecimal currentPay;

    /**
     * 晋升后薪酬
     */
    @TableField(value = "F_PostPromotionPay")

    private BigDecimal postPromotionPay;

    /**
     * 审核状态，转正审批状态(0,待审批,1审批中,2,审核通过,3,审核不通过,4,撤销,5未办理, 6手动,)
     */
    @TableField(value = "F_State")
    private Integer state;

    /**
     * 申请来源 0,员工申请,1,审批办理,2直接办理
     */
    @TableField(value = "F_Source")
    private Integer source;

    /**
     * 组织主键id
     */
    @TableField(value = "F_OrgId")
    private String orgId;

    /**
     * 组织名称
     */
    @TableField(value = "F_OrgName")
    private String orgName;

    /**
     * 当前岗位id
     */
    @TableField(value = "F_PostId")
    private String postId;

    /**
     * 当前岗位名称
     */
    @TableField(value = "F_PostName")
    private String postName;

    /**
     * 当前岗位职等id
     */
    @TableField(value = "F_PostRankId")
    private String postRankId;

    /**
     * 当前岗位职等名称
     */
    @TableField(value = "F_PostRankName")
    private String postRankName;

    /**
     * 晋升岗位id
     */
    @TableField(value = "F_PostPromotionId")
    private String postPromotionId;

    /**
     * 晋升岗位名称
     */
    @TableField(value = "F_PostPromotionName")
    private String postPromotionName;

    /** 晋升岗位职等id */
    @TableField(value = "F_PostRankPromotionId")
    private String postRankPromotionId;

    /**
     * 晋升岗位职等名称
     */
    @TableField(value = "F_PostRankPromotionName")
    private String postRankPromotionName;

    /**
     * 当前晋升组织主键id
     */
    @TableField(value = "F_OrgCurrentId")
    private String orgCurrentId;

    /**
     * 当前晋升组织主键名称
     */
    @TableField(value = "F_OrgCurrentName")
	private String orgCurrentName;
    /**
     * 当前晋升角色
     */
    @TableField(value = "F_RoleId")
	private String roleId;
    /**
     * 当前晋升橘色
     */
    @TableField(value = "F_RoleName")
	private String roleName;

    /**
     * 任务主键id
     */
    @TableField(value = "F_TaskInfoId")
	private String taskInfoId;
    /**
     * 直属主管
     */
    @TableField(value = "F_ImmediateSuperId")
	private String immediateSuperId;
    /**
     * 直属主管name
     */
    @TableField(value = "F_ImmediateSuperName")
	private String immediateSuperName;
    /**
     * 旧直属主管
     */
    @TableField(value = "F_OldImmediateSuperId")
	private String OldImmediateSuperId;
    /**
     * 旧直属主管name
     */
    @TableField(value = "F_OldImmediateSuperName")
	private String OldImmediateSuperName;

    /**
     * 考情组id
     */
    @TableField(value = "F_AttendanceGroup")
    private String attendanceGroup;

    /**
     * 是否调整薪酬(0,否,1是) (v1.1)
     */
    @TableField(value = "F_IsAdjustSalary")
    private String isAdjustSalary;


    /**
     * 薪资结构(0,不使用,1使用) (v1.1)
     */
    @TableField(value = "F_SalaryStructure")
    private String salaryStructure;


    /**
     * 薪资生效日期
     */
    @TableField(value = "F_PayrollEffectiveDate")
    private Date payrollEffectiveDate;


    /**
     *  薪资详情 (v1.1)
     */
    @TableField(value = "F_SalaryStructureList")
    private String salaryStructureList;

    /**
     *  版本号 区分是否为老版本审批数据 0为老版本 1为新版审批
     */
    @TableField(value = "F_VersionNum")
    private Integer versionNum;

    /**
     * 薪资调整原因
     */
    @TableField(value = "F_ReasonsForSalary")
    private String  reasonsForSalaryAdjustments;
}
