LANCommander/LANCommander.Server.ImportExport/Models/ExportQueueItem.cs
Pat Hartl 6ec919d1be Separate import and export functionality
This refactor splits the import and export functionality out of the ImportContext and adds an ExportContext. This also introduced separate importer and exporter implementations.

Additionally, adding archive, save, scripts, and server files to the final export archive has been implemented at the exporter implementation for each instead of handling it in the context. This should be a good pattern if other files need to be added down the road.
2025-07-27 17:51:50 -05:00

23 lines
No EOL
534 B
C#

using LANCommander.SDK.Enums;
namespace LANCommander.Server.ImportExport.Models;
public class ExportQueueItem
{
public Guid Id { get; set; }
public ExportRecordFlags Type { get; set; }
public object Record { get; set; }
public bool Processed { get; set; }
public ExportQueueItem(ExportRecordFlags type, object record)
{
Type = type;
Record = record;
}
public ExportQueueItem(Guid id, ExportRecordFlags type, object record)
{
Type = type;
Record = record;
}
}