using Somnia.GuestLog.Enums.Models;
using Somnia.GuestLog.Infrastructure;
namespace Somnia.GuestLog.Models.Entities;
///
/// This class store details and extra information about the exported data of a StayExportFile.
///
public class StayExportDetails : BaseEntity
{
public int? ExportedStayCount { get; set; }
public int? StayErrorCount { get; set; }
public List StayEntries { get; set; } = [];
public override string GetFullKey() => DbConsts.PK_NotApply;
}
///
/// Export details for each exported stayEntry in a StayExportFile.
///
public class StayExportDetailsStayEntry
{
public required long StayEntryId { get; set; }
public required StayExportDetailsStayEntryResult ExportResult { get; set; }
public string? Details { get; set; }
}