ITprdProductRepository.cs 1023 B

123456789101112131415161718192021
  1. using Ropin.Inspection.Model;
  2. using Ropin.Inspection.Model.Entities;
  3. using System;
  4. using System.Collections.Generic;
  5. using System.Linq;
  6. using System.Text;
  7. using System.Threading.Tasks;
  8. namespace Ropin.Inspection.Repository
  9. {
  10. public interface ITprdProductRepository : IRepositoryBase<TPRD_Product>, IRepositoryBaseById<TPRD_Product, Guid>
  11. {
  12. Task<TprdProductViewModel> GetAlertProductByCodeAsync(Guid code);
  13. Task<TprdProductViewModel> GetValiDateProductByCodeAsync(Guid code);
  14. Task<IEnumerable<TprdProductViewModel>> GetAlertProductsByAsync(string storeCode);
  15. Task<IEnumerable<TprdProductViewModel>> GetValiDateProductsByAsync(string storeCode);
  16. IEnumerable<TprdDeviceByAreaViewModel> GetDeviceByAreaCode(TprdDeviceByAreaSearchModel searchModel);
  17. Task<TprdProductViewModel> GetProductByQRCodeAsync(string QRCode, string storeCode);
  18. Task<IEnumerable<AllProductWithDevViewModel>> GetProductWithDataByAsync(TprdProductWithDataSearchModel searchModel);
  19. }
  20. }