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

namespace IMODELS
{
    public interface IManageBrand
    {
        /// <summary>
        /// 添加品牌
        /// </summary>
        /// <param name="model"></param>
        /// <returns></returns>
         bool AddBrand(MODEL.MBrand model);
        /// <summary>
        /// 修改品牌
        /// </summary>
        /// <param name="model"></param>
        /// <returns></returns>
         bool UpdateBrand(MODEL.MBrand model);
        /// <summary>
        /// 删除品牌
        /// </summary>
        /// <param name="id"></param>
        /// <returns></returns>
         bool DelBrand(string id);
        /// <summary>
        /// 品牌分类
        /// </summary>
        /// <param name="start"></param>
        /// <param name="limit"></param>
        /// <param name="fiter"></param>
        /// <returns></returns>
         string AllBrand(string start, string limit, string fiter);
        /// <summary>
        ///获取一条品牌信息 
        /// </summary>
        /// <param name="id"></param>
        /// <returns></returns>
         string GetBrandById(string id);
    }
}
