TG.WXCRM.V4/IBLL/Res/IRES_DISTRIBUTE_DETAIL.cs

20 lines
774 B
C#

using System;
using System.Collections.Generic;
using System.Linq.Expressions;
using WX.CRM.Common;
using WX.CRM.Model.Entity;
namespace WX.CRM.IBLL.Res
{
public interface IRES_DISTRIBUTE_DETAIL
{
bool Create(ref ValidationErrors errors, WX.CRM.Model.Entity.RES_DISTRIBUTE_DETAIL model);
bool Update(ref ValidationErrors errors, WX.CRM.Model.Entity.RES_DISTRIBUTE_DETAIL model);
bool Delete(ref ValidationErrors errors, decimal id);
bool BatchAdd(ref ValidationErrors errors, IList<WX.CRM.Model.Entity.RES_DISTRIBUTE_DETAIL> list);
void BatchRemove(List<decimal> list);
void BatchUpdate(List<string> list);
IList<RES_DISTRIBUTE_DETAIL> GetList(Expression<Func<RES_DISTRIBUTE_DETAIL, bool>> where);
}
}