using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace EDJournal { public class MarketBuyEntry : Entry { public string Type { get; set; } public string TypeLocalised { get; set; } public long Count { get; set; } public long BuyPrice { get; set; } public long TotalCost { get; set; } protected override void Initialise() { Type = JSON.Value("Type") ?? ""; TypeLocalised = JSON.Value("Type_Localised") ?? ""; Count = JSON.Value("Count") ?? 0; BuyPrice = JSON.Value("BuyPrice") ?? 0; TotalCost = JSON.Value("TotalCost") ?? 0; } } }