2024-06-07 11:54:32 +01:00

51 lines
1.4 KiB
C#

using AssortGenerator.Models.Output;
using System.Collections.Generic;
namespace AssortGenerator.Common.Models
{
public class FleaFindResult
{
public int err { get; set; }
public object errmsg { get; set; }
public FindFleaData data { get; set; }
}
public class FindFleaData
{
public List<FleaOffer> offers { get; set; }
public int offersCount { get; set; }
public string selectedCategory { get; set; }
}
public class FleaOffer
{
public string _id { get; set; }
public int intId { get; set; }
public User user { get; set; }
public string root { get; set; }
public List<Item> items { get; set; }
public int itemsCost { get; set; }
public List<Requirement> requirements { get; set; }
public int requirementsCost { get; set; }
public int summaryCost { get; set; }
public bool sellInOnePiece { get; set; }
public int startTime { get; set; }
public int endTime { get; set; }
public bool unlimitedCount { get; set; }
public object buyRestrictionMax { get; set; }
public int loyaltyLevel { get; set; }
}
public class User
{
public string id { get; set; }
public int memberType { get; set; }
}
public class Requirement
{
public decimal count { get; set; }
public string _tpl { get; set; }
}
}