using System; using System.Collections.Generic; using MalwareMultiScan.Shared.Message; using MongoDB.Bson; using MongoDB.Bson.Serialization.Attributes; namespace MalwareMultiScan.Api.Data { /// /// Scan result. /// public class ScanResult { /// /// Result id. /// [BsonId] [BsonRepresentation(BsonType.ObjectId)] public string Id { get; set; } /// /// Optional callback URL. /// public Uri CallbackUrl { get; set; } /// /// Result entries where key is backend id and value is . /// public Dictionary Results { get; set; } = new Dictionary(); } }