6ac747d18d
* Begin converting some id's to MongoId * Remove nullability on MongoId's * Update trader MongoId's
23 lines
619 B
C#
23 lines
619 B
C#
using System.Text.Json.Serialization;
|
|
using SPTarkov.Server.Core.Models.Common;
|
|
|
|
namespace SPTarkov.Server.Core.Models.Eft.Ragfair;
|
|
|
|
public record GetOffersResult
|
|
{
|
|
[JsonExtensionData]
|
|
public Dictionary<string, object>? ExtensionData { get; set; }
|
|
|
|
[JsonPropertyName("categories")]
|
|
public Dictionary<MongoId, int>? Categories { get; set; }
|
|
|
|
[JsonPropertyName("offers")]
|
|
public List<RagfairOffer>? Offers { get; set; }
|
|
|
|
[JsonPropertyName("offersCount")]
|
|
public int? OffersCount { get; set; }
|
|
|
|
[JsonPropertyName("selectedCategory")]
|
|
public string? SelectedCategory { get; set; }
|
|
}
|