using System.Collections.Generic;
using CncModels.Entity;

namespace CncRepository.Interface
{
    /// <summary>
    /// cnc_screen_config 大屏卡片配置表 仓储接口
    /// </summary>
    public interface IScreenConfigRepository
    {
        List<ScreenConfig> GetAll();
        List<ScreenConfig> GetEnabled();
        ScreenConfig GetById(int id);
        int Create(ScreenConfig entity);
        bool Update(ScreenConfig entity);
        bool Delete(int id);
        bool ToggleEnabled(int id);
    }
}
