mirror of
https://github.com/volodymyrsmirnov/MalwareMultiScan.git
synced 2025-08-24 05:22:22 +00:00
19 lines
534 B
C#
19 lines
534 B
C#
|
using System.Collections.Generic;
|
||
|
using MongoDB.Bson;
|
||
|
using MongoDB.Bson.Serialization.Attributes;
|
||
|
|
||
|
namespace MalwareMultiScan.Api.Data.Models
|
||
|
{
|
||
|
public class ScanRequest
|
||
|
{
|
||
|
[BsonId]
|
||
|
[BsonRepresentation(BsonType.ObjectId)]
|
||
|
public string Id { get; set; }
|
||
|
|
||
|
[BsonRepresentation(BsonType.ObjectId)]
|
||
|
public string FileId { get; set; }
|
||
|
|
||
|
public Dictionary<string, ScanRequestEntry> Results { get; set; } =
|
||
|
new Dictionary<string, ScanRequestEntry>();
|
||
|
}
|
||
|
}
|