95 lines
3.0 KiB
C#
95 lines
3.0 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Web;
|
|
|
|
namespace SvetoforVKBot.Models.Updates
|
|
{
|
|
public class Sourse
|
|
{
|
|
public string name { get; set; }
|
|
public DateTime dateTime { get; set; }
|
|
}
|
|
|
|
public class Sourses
|
|
{
|
|
public List<Sourse> sourses { get; set; }
|
|
}
|
|
|
|
public class AdvChannel
|
|
{
|
|
public string name { get; set; }
|
|
public string description { get; set; }
|
|
}
|
|
|
|
public class SalesFunnel
|
|
{
|
|
public List<AdvChannel> advChannels = new List<AdvChannel>()
|
|
{
|
|
//new AdvChannel() { name = "reklama", description = "ВКонтакте Чат-бот реклама old" },
|
|
new AdvChannel() { name = "main", description = "ВКонтакте Чат-бот" },
|
|
};
|
|
|
|
public List<string> stages = new List<string>()
|
|
{
|
|
"Старт",
|
|
"Регистрация",
|
|
"Личный кабинет",
|
|
"Зарегистрирован",
|
|
};
|
|
}
|
|
public class ChatId
|
|
{
|
|
public int chatId { get; set; }
|
|
public string voronka { get; set; }
|
|
public Sourse sourse { get; set; }
|
|
public string sourseName { get; set; }
|
|
public int numZakaz { get; set; }
|
|
}
|
|
public class CategoriesDostavka
|
|
{
|
|
public int categoryId { get; set; }
|
|
public string name { get; set; }
|
|
public string btnName { get; set; }
|
|
public string kbColor { get; set; }
|
|
public int inTheOrder { get; set; }
|
|
public int subMenu { get; set; }
|
|
}
|
|
public class ProductsDostavka
|
|
{
|
|
public int id { get; set; }
|
|
public string idIiko { get; set; }
|
|
public string article { get; set; }
|
|
public int colorId { get; set; }
|
|
public int categoryId { get; set; }
|
|
public string name { get; set; }
|
|
public string fullName { get; set; }
|
|
public string description { get; set; }
|
|
public string descriptionCarousel { get; set; }
|
|
public string photo { get; set; }
|
|
public string photoCarousel { get; set; }
|
|
public double price { get; set; }
|
|
public List<string> additions { get; set; }
|
|
public List<string> recommends { get; set; }
|
|
public string link { get; set; }
|
|
public string dateStart { get; set; }
|
|
public string dateEnd { get; set; }
|
|
public int ageLow { get; set; }
|
|
public int ageHigh { get; set; }
|
|
public int kkal { get; set; }
|
|
public List<int> foodType { get; set; }
|
|
public double belki { get; set; }
|
|
public double zhiry { get; set; }
|
|
public double uglevody { get; set; }
|
|
}
|
|
|
|
public class Additions
|
|
{
|
|
public string fullName { get; set; }
|
|
public string name { get; set; }
|
|
public double price { get; set; }
|
|
public string article { get; set; }
|
|
public string offer { get; set; }
|
|
public string btnName { get; set; }
|
|
}
|
|
} |