Refringe a320d24ee4
Changes for 3.10 (32160)
- Updates the Model/Input classes to match the new export JSON structure
- Updates references to model structure
- Updates SevenZipSharp package
- Adds a few null checks
2024-08-22 15:33:27 -04:00

26 lines
674 B
C#

using LootDumpProcessor.Model.Input;
using Newtonsoft.Json;
namespace LootDumpProcessor.Model.Processing;
public class BasicInfo
{
public required string Map { get; set; }
public required string FileHash { get; set; }
[JsonProperty(NullValueHandling = NullValueHandling.Ignore)]
public RootData? Data { get; set; }
public DateTime Date { get; set; }
public required string FileName { get; set; }
public override bool Equals(object? obj)
{
if (obj is BasicInfo info)
return FileHash == info.FileHash;
return false;
}
public override int GetHashCode()
{
return FileHash.GetHashCode();
}
}