chomp 6e4c7abf73 dump-processor-cleanup (#6)
Co-authored-by: Alex <alex@dm-me-for-questions.com>
Reviewed-on: SPT-AKI/LootDumpProcessor#6
2024-04-16 18:29:40 +00:00

26 lines
646 B
C#

using LootDumpProcessor.Model.Input;
using Newtonsoft.Json;
namespace LootDumpProcessor.Model.Processing;
public class BasicInfo
{
public string Map { get; set; }
public string FileHash { get; set; }
[JsonProperty(NullValueHandling = NullValueHandling.Ignore)]
public RootData Data { get; set; }
public DateTime Date { get; set; }
public 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();
}
}