package org.xyzh.api.system.permission;

import org.xyzh.common.core.domain.ResultDomain;
import org.xyzh.common.dto.permission.TbResourcePermission;
import org.xyzh.common.vo.UserDeptRoleVO;

/**
 * @description    资源权限控制服务接口
 * @filename    ResourcePermissionService.java
 * @author    yslg
 * @copyright xyzh
 * @since 2025-10-29
 */
public interface ResourcePermissionService {
    
    /**
     * @description 创建资源权限 根据用户
     * @param resource_type 资源类型
     * @param resource_id 资源ID
     * @param creatorID 创建者ID
     * @return ResultDomain<TbResourcePermission> 资源权限
     * @author yslg
     * @since 2025-10-29
     */
    ResultDomain<TbResourcePermission> createResourcePermission(Integer resource_type, String resource_id, UserDeptRoleVO userDeptRole);

}
