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
|
|
|
|
|
|
|
|
public class ImportQueueItem
|
|
|
|
|
{
|
2025-12-03 02:22:37 -06:00
|
|
|
public string Key { 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 ImportQueueItem(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 ImportQueueItem(Guid id, ImportExportRecordType type, object record)
|
2025-07-25 17:57:33 -05:00
|
|
|
{
|
|
|
|
|
Type = type;
|
|
|
|
|
Record = record;
|
|
|
|
|
}
|
|
|
|
|
}
|