SHA256
StayExportTracking - Changes to Models
- Added new fields to track stay export uploading. - Added methods in EntityServices to update this fields. - Show new fields in UI (with required locale).
This commit is contained in:
1 parent
34b61e7fde
commit
2f0062b313
20 files changed
+586
-8
No files matched your search
@@ -1,3 +1,4 @@
|
||||
using Somnia.GuestLog.Enums.Models;
|
||||
using Somnia.GuestLog.Models.DTOs;
|
||||
using Somnia.GuestLog.Models.QueryConfigs;
|
||||
|
||||
@@ -10,6 +11,13 @@ public interface IStayEntryEntityService
|
||||
public Task<Result> DeleteEntryAsync(StayEntryDTO dto);
|
||||
public Task<Result> DeleteEntryAsync(long id);
|
||||
|
||||
/// <summary>
|
||||
/// Update StayEntry Upload Status.
|
||||
/// </summary>
|
||||
/// <param name="id">StayEntry ID to update</param>
|
||||
/// <param name="newStatus">New Upload Status</param>
|
||||
public Task<Result> UpdateEntryUploadStatusAsync(long id, UploadStatus newStatus);
|
||||
|
||||
public Task<StayEntryDTO?> GetDtoByIdAsync(long id, StayEntryQueryConfig? queryConfig = null);
|
||||
public Task<IEnumerable<StayEntryDTO>> GetDtoListAsync(StayEntryQueryConfig? queryConfig = null);
|
||||
public Task<IEnumerable<StayEntryDTO>> GetDtoListByFilterAsync(StayEntryFilterDTO filter, int limit = 0, StayEntryQueryConfig? queryConfig = null);
|
||||
|
||||
Reference in new issue
Block a user