using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace SvetoforVKBot.Models.Updates
{
    public class UserSkill
    {
        public int id { get; set; }
        public int parentId { get; set; }
        public string name { get; set; }
        public double rating { get; set; } = 20;
        public int loveThisSkill { get; set; } //1 - Нет, 2 - Скорее, нет, 3 - Скорее, да, 4 - Да
        public string question { get; set; }
    }
    public class UserObject
    {
        public int id { get; set; }
        public int chatId { get; set; }
        public int waterNotify { get; set; }
        public string fio { get; set; }
        public int role { get; set; }
        public DateTime birthday { get; set; }
        public string phone { get; set; }
        public int commentId { get; set; }

    }
    public class TaskObject
    {
        public int id { get; set; }
        public string text { get; set; }
        public List<UserSkill> skills { get; set; }
        public DateTime deadline { get; set; }
        public int commentId { get; set; }
        public int student { get; set; }
        public int coach { get; set; }
        public string deadlineText { get; set; }
    }
    public class EventObject
    {
        public int id { get; set; }
        public int state { get; set; }
        public string name { get; set; }
        public string description { get; set; }
        public DateTime dateStart { get; set; }
        public DateTime dateEnd { get; set; }
        public string photo { get; set; }
        public string fullDescription { get; set; }
        public int price { get; set; }
        public string successMessage { get; set; }
        public string picTicket { get; set; }
    }
    public class SettingsObject
    {
        public string name { get; set; }
        public string value { get; set; }
    }

    public class CatalogPhotoObject
    {
        public int id { get; set; }
        public int owner_id { get; set; }
        public string access_key { get; set; }
    }
    public class CartObject
    {
        public List<Order> orders { get; set; }

        public double dostavkaCost { get; set; } = 100;
    }
    public class Order
    {
        public string id { get; set; }
        public string idIiko { get; set; }
        public string article { get; set; }
        public string fullname { get; set; }
        public string name { get; set; }
        public double price { get; set; }
        public int number { get; set; }
        public string comment { get; set; }
        public int kkal { get; set; }
    }
    public class UserCart
    {
        public int chatId { get; set; }
        public CartObject cart { get; set; }

    }
    public class UserStats
    {
        public int chatId { get; set; }
        public double sum { get; set; } = 0;
        public string voronka { get; set; }
        public Sourses sourses { get; set; }
    }

}