mirror of
https://github.com/wabbajack-tools/wabbajack.git
synced 2024-08-30 18:42:17 +00:00
21 lines
558 B
C#
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;
|
|
}
|
|
}
|