wabbajack/Wabbajack.BuildServer/Models/DownloadState.cs
2020-04-03 16:37:27 -06:00

21 lines
558 B
C#

using System;
using MongoDB.Bson.Serialization.Attributes;
using Wabbajack.Common;
using Wabbajack.Lib.Downloaders;
namespace Wabbajack.BuildServer.Models
{
public class DownloadState
{
[BsonId]
public string Key { get; set; }
public Hash Hash { get; set; }
public AbstractDownloadState State { get; set; }
public bool IsValid { get; set; }
public DateTime LastValidationTime { get; set; } = DateTime.Now;
public DateTime FirstValidationTime { get; set; } = DateTime.Now;
}
}