package com.zhongshu.card.server.core.dao.config;

import com.github.microservice.components.data.mongo.mongo.dao.MongoDao;
import com.zhongshu.card.server.core.domain.config.ProjectUserConfig;

/**
 * @author TRX
 * @date 2024/3/21
 */
public interface ProjectUserConfigDao extends MongoDao<ProjectUserConfig> {

    ProjectUserConfig findTopById(String id);

    ProjectUserConfig findTopByProjectOidAndUserIdAndKey(String projectOid, String userId, String key);
}
