IVipEquityRepository.cs 946 B

1234567891011121314151617181920212223242526272829
  1. using System.Collections.Generic;
  2. using System.Threading.Tasks;
  3. using Datory;
  4. using GxPress.Request.VipEquity;
  5. using GxPress.Result.VipEquity;
  6. namespace GxPress.Repository.Interface.VipEquity
  7. {
  8. public interface IVipEquityRepository : IRepository
  9. {
  10. Task<IEnumerable<VipEquityResult>> GetAllAsync();
  11. Task<bool> UpdateAsync(VipEquityUpdateRequest request);
  12. Task<bool> InsertAsync(Entity.tede2.VipEquity.VipEquity model);
  13. Task<bool> DeleteAsync(int id);
  14. /// <summary>
  15. /// /// 查询
  16. /// </summary>
  17. /// <param name="id"></param>
  18. /// <returns></returns>
  19. Task<Entity.tede2.VipEquity.VipEquity> GetAsync(int id);
  20. /// <summary>
  21. /// 查询1 月 2 季度 3 年 4连续月
  22. /// </summary>
  23. /// <param name="id"></param>
  24. /// <returns></returns>
  25. Task<Entity.tede2.VipEquity.VipEquity> GetByVipTypeAsync(int vipType);
  26. }
  27. }