using System.Collections.Generic;

namespace QuestValidator.Models.Output
{
    public class BaseRoot
    {
        public List<Base> data { get; set; }
    }
    public class Base
    {
        public string _id { get; set; }
        public bool customization_seller { get; set; }
        public string name { get; set; }
        public string surname { get; set; }
        public string nickname { get; set; }
        public string location { get; set; }
        public string avatar { get; set; }
        public int balance_rub { get; set; }
        public int balance_dol { get; set; }
        public int balance_eur { get; set; }
        public bool unlockedByDefault { get; set; }
        public int discount { get; set; }
        public int discount_end { get; set; }
        public bool buyer_up { get; set; }
        public string currency { get; set; }
        public int nextResupply { get; set; }
        public Repair repair { get; set; }
        public Insurance insurance { get; set; }
        public bool medic { get; set; }
        public int gridHeight { get; set; }
        public List<LoyaltyLevel> loyaltyLevels { get; set; }
        public List<string> sell_category { get; set; }
    }

    public class Repair
    {
        public bool availability { get; set; }
        public string quality { get; set; }
        public List<object> excluded_id_list { get; set; }
        public List<object> excluded_category { get; set; }
        public string currency { get; set; }
        public int currency_coefficient { get; set; }
        public int price_rate { get; set; }
    }

    public class Insurance
    {
        public bool availability { get; set; }
        public int min_payment { get; set; }
        public int min_return_hour { get; set; }
        public int max_return_hour { get; set; }
        public int max_storage_time { get; set; }
        public List<object> excluded_category { get; set; }
    }

    public class LoyaltyLevel
    {
        public object minLevel { get; set; }
        public object minSalesSum { get; set; }
        public object minStanding { get; set; }
        public int buy_price_coef { get; set; }
        public object repair_price_coef { get; set; }
        public object insurance_price_coef { get; set; }
        public int exchange_price_coef { get; set; }
        public object heal_price_coef { get; set; }
    }
}