2025-07-25 17:57:33 -05:00
|
|
|
using LANCommander.SDK.Enums;
|
|
|
|
|
|
2025-07-27 17:51:50 -05:00
|
|
|
namespace LANCommander.Server.ImportExport.Models;
|
2025-07-25 17:57:33 -05:00
|
|
|
|
2025-07-27 17:51:50 -05:00
|
|
|
public class ExportQueueItem
|
2025-07-25 17:57:33 -05:00
|
|
|
{
|
|
|
|
|
public Guid Id { get; set; }
|
2025-08-01 02:27:06 -05:00
|
|
|
public ImportExportRecordType Type { get; set; }
|
2025-07-25 17:57:33 -05:00
|
|
|
public object Record { get; set; }
|
|
|
|
|
public bool Processed { get; set; }
|
|
|
|
|
|
2025-08-01 02:27:06 -05:00
|
|
|
public ExportQueueItem(ImportExportRecordType type, object record)
|
2025-07-25 17:57:33 -05:00
|
|
|
{
|
|
|
|
|
Type = type;
|
|
|
|
|
Record = record;
|
|
|
|
|
}
|
|
|
|
|
|
2025-08-01 02:27:06 -05:00
|
|
|
public ExportQueueItem(Guid id, ImportExportRecordType type, object record)
|
2025-07-25 17:57:33 -05:00
|
|
|
{
|
|
|
|
|
Type = type;
|
|
|
|
|
Record = record;
|
|
|
|
|
}
|
|
|
|
|
}
|