39 lines
1.2 KiB
C#
39 lines
1.2 KiB
C#
using EgwCoreLib.Lux.Data.DbModel.Items;
|
|
using EgwCoreLib.Lux.Data.DbModel.Sales;
|
|
using static EgwCoreLib.Lux.Core.Enums;
|
|
|
|
namespace EgwCoreLib.Lux.Data.Repository.Sales
|
|
{
|
|
public interface IOrderRowRepository : IBaseRepository
|
|
{
|
|
#region Public Methods
|
|
|
|
Task<bool> AddAsync(OrderRowModel entity);
|
|
|
|
Task<bool> DeleteAsync(OrderRowModel entity);
|
|
|
|
Task<List<ItemModel>> GetBomItemsAsync();
|
|
|
|
Task<OrderRowModel?> GetByIdAsync(int OrderRowId);
|
|
|
|
Task<List<OrderRowModel>> GetByParentAsync(int offerId);
|
|
|
|
Task<List<OrderRowModel>> GetByStateAsync(OrderStates reqState, DateTime dtStart, DateTime dtEnd);
|
|
|
|
Task<List<OrderRowModel>> GetByStateMinAsync(OrderStates reqState, DateTime dtStart, DateTime dtEnd);
|
|
|
|
Task<OrderRowModel?> GetByUidAsync(string OrderRowUid);
|
|
|
|
Task<List<ItemGroupModel>> GetItemGroupsAsync();
|
|
|
|
Task<bool> SaveProdEstAsync(string uID, string prodEstim);
|
|
|
|
Task<bool> SaveRowsAsync(List<OrderRowModel> rows);
|
|
|
|
Task<bool> UpdateAsync(OrderRowModel entity);
|
|
|
|
Task<int> ValidateAsync(List<OrderRowModel> list2chk);
|
|
|
|
#endregion Public Methods
|
|
}
|
|
} |