using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace IMODELS
{
    public interface IManageConfig
    {
        /// <summary>
        /// 基本配置信息添加
        /// </summary>
        /// <param name="model"></param>
        /// <returns></returns>
         bool AddConfig(MODEL.MBrand model);
        /// <summary>
        /// 基本配置信息修改
        /// </summary>
        /// <param name="model"></param>
        /// <returns></returns>
         bool UpdateConfig(MODEL.MConfig model);
        /// <summary>
        /// 基本配置信息删除
        /// </summary>
        /// <param name="id"></param>
        /// <returns></returns>
         bool DelConfig(string id);
        /// <summary>
        /// 基本分类信息分页列表
        /// </summary>
        /// <param name="start"></param>
        /// <param name="limit"></param>
        /// <param name="fiter"></param>
        /// <returns></returns>
         string AllConfig(string start, string limit, string fiter);
        /// <summary>
        /// 获得一条基本分类信息
        /// </summary>
        /// <param name="id"></param>
        /// <returns></returns>
         string GetConfigById(string id);
    }
}
