//using CRM.Core.DTO; using System.Collections.Generic; using WX.CRM.Common; using WX.CRM.Model.Entity; using WX.CRM.Model.MAP; namespace WX.CRM.IBLL.Res { public interface IRES_SALES_RULE : IRepository { List GetResSalesRule(ref Pager pager, QueryUserComboDto usercomboDto, int? level, int? sgid, int? isvalid); List GetResSalesUnRule(QueryUserComboDto usercomboDto, int? sgid); IList GetAssignLists(QueryUserComboDto usercomboDto); bool Batch(int[] eids, int level, int sgid, int islimit); bool Update(string eids, int? level, int? islimit, int? isvalid); //retMsg UpdateLevel(string level); } public class ResSalesRuleListView { public int SID { get; set; } public string SGNAME { get; set; } public decimal GID { get; set; } public string GNAME { get; set; } public decimal EID { get; set; } public string UNAME { get; set; } public int LEVEL { get; set; } public string LEVELNAME { get; set; } public int NUM { get; set; } public string ISLIMIT { get; set; } public string ISVALID { get; set; } public string ISDISMISS { get; set; } } public class ResSalesLevelView { public decimal Level { get; set; } public string LevelName { get; set; } public int LevelNum { get; set; } } public class ResSaleUnRuleListView { public string GNAME { get; set; } public decimal EID { get; set; } public string UNAME { get; set; } } public class AssignListView { public string rname { get; set; } public decimal eid { get; set; } public string uname { get; set; } public string gname { get; set; } public int allocations { get; set; } public int todayallocations { get; set; } public int quantity { get; set; } public int tgquantity { get; set; } public int total { get; set; } public int isnew { get; set; } public int isold { get; set; } } }