using System; using System.Collections.Generic; namespace RoadFlow.Data.Interface { public interface IUsersApp { /// /// 新增 /// int Add(RoadFlow.Data.Model.UsersApp model); /// /// 更新 /// int Update(RoadFlow.Data.Model.UsersApp model); /// /// 查询所有记录 /// List GetAll(); /// /// 查询单条记录 /// Model.UsersApp Get(Guid id); /// /// 删除 /// int Delete(string id); /// /// 查询记录条数 /// long GetCount(); /// /// 查询所有记录 /// System.Data.DataTable GetAllDataTable(); /// /// 更新排序 /// int UpdateSort(Guid id, int sort); /// /// 查询下级记录 /// List GetChild(string id); /// /// 删除一个用户记录 /// int DeleteByUserID(Guid userID); } }