package jnpf.model.authority.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 2025-08-21 
 */

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

	private static final long serialVersionUID =  5997079359080816528L;


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

	/** 侧边栏菜单webId */
   	@TableField(value = "F_FunctionWebId")
	private String functionWebId;

	/** 侧边栏菜单appId */
   	@TableField(value = "F_FunctionAppId")
	private String functionAppId;

	/**
	* 侧边栏菜单pcId
	*/
	@TableField(value = "F_FunctionPcId")
	private String functionPcId;

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

	/** 指定组织id集合 */
   	@TableField(value = "F_SpecifyOrgIds")
	private String specifyOrgIds;

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

	/** 是否开启权限0不开启1开启 */
   	@TableField(value = "F_RoleEnabled")
	private Integer roleEnabled;

}
