using System; using System.Collections.Generic; namespace RoadFlow.Data.Interface { public interface IRole { /// /// 新增 /// int Add(RoadFlow.Data.Model.Role model); /// /// 更新 /// int Update(RoadFlow.Data.Model.Role model); /// /// 查询所有记录 /// List GetAll(); /// /// 查询单条记录 /// Model.Role Get(Guid id); /// /// 删除 /// int Delete(Guid id); /// /// 查询记录条数 /// long GetCount(); } }