package com.jeesharp.business.modules.common.bizscene.service;

import com.jeesharp.business.modules.common.bizscene.entity.BizScene;
import com.jeesharp.business.modules.common.bizscene.vo.BizSceneQueryVO;
import com.jeesharp.framework.mybatis.core.service.BaseInterface;

import java.util.List;

/**
 * 业务业态场景领域服务接口。
 *
 * @author jeesharp
 * @since 2026-07-03
 */
public interface BizSceneService extends BaseInterface<BizScene, BizSceneQueryVO> {

    BizScene createBizScene(BizScene scene);

    void updateBizScene(BizScene scene);

    BizScene findBySceneCode(String sceneCode, String tenantId);

    List<BizScene> listEnabled(String tenantId, String capability);

    void assertSceneEnabled(String sceneCode, String tenantId);
}
