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;

/**
 * 人事调离员工权限表 
 * @author admin
 * @create 2024-02-01 
 */

@Getter
@Setter
@NoArgsConstructor
@EqualsAndHashCode(callSuper = true)
@TableName(value = "ftb_personnels_permissions")
public class FtbPersonnelsPermissions extends SuperBaseEntity.SuperCUDBaseEntity<String> implements Serializable {

    private static final long serialVersionUID = 4274327814308729378L;

    /** 是否有效(1无效,0有效) */
    @TableField(value = "F_EnableMark")
    private Long enableMark;

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

    /**
     * 用户姓名
     */
    @TableField(value = "F_UserName")
    private String userName;

    /**
     * 手机号码
     */
    @TableField(value = "F_Phone")
    private String phone;

    /**
     * 系统用户id
     */
    @TableField(value = "F_UserCustomId")
    private String userCustomId;

    /**
     * 职等id集合
     */
    @TableField(value = "F_PostRankIds")
    private String postRankIds;

    /**
     * 组织id集合
     */
    @TableField(value = "F_OrgIds")
    private String orgIds;

    /**
     * 岗位id集合
     */
    @TableField(value = "F_PostIds")
    private String postIds;

    /**
     * 权限适用范围,0所在组织和下级组织员工,1所在组织员工,2仅下属，3指定组织
     */
    @TableField(value = "F_ScopePermission")
    private Integer scopePermission;

    /**
     * 权限设置范围,0人事权限,1培训权限
     */
    @TableField(value = "F_Type")
    private Integer permissionType;

    /**
     * 职等名称集合
     */
    @TableField(value = "F_PostRankNames")
    private String postRankNames;

    /**
     * 组织名称集合
     */
    @TableField(value = "F_OrgNames")
    private String orgNames;

    /**
     * 岗位名称集合
     */
    @TableField(value = "F_PostNames")
    private String postNames;
    /**
     * 指定组织id集合
     */
    @TableField(value = "F_SpecifyOrgIds")
    private String specifyOrgIds;

}
