mirror of
https://github.com/volodymyrsmirnov/MalwareMultiScan.git
synced 2025-08-23 21:12:22 +00:00
25 lines
687 B
C#
25 lines
687 B
C#
using System.Collections.Generic;
|
|
using MongoDB.Bson;
|
|
using MongoDB.Bson.Serialization.Attributes;
|
|
|
|
namespace MalwareMultiScan.Api.Data.Models
|
|
{
|
|
/// <summary>
|
|
/// Scan result.
|
|
/// </summary>
|
|
public class ScanResult
|
|
{
|
|
/// <summary>
|
|
/// Result id.
|
|
/// </summary>
|
|
[BsonId]
|
|
[BsonRepresentation(BsonType.ObjectId)]
|
|
public string Id { get; set; }
|
|
|
|
/// <summary>
|
|
/// Result entries where key is backend id and value is <see cref="ScanResultEntry"/>.
|
|
/// </summary>
|
|
public Dictionary<string, ScanResultEntry> Results { get; set; } =
|
|
new Dictionary<string, ScanResultEntry>();
|
|
}
|
|
} |