using Newtonsoft.Json.Linq; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace IOTContainer.Model { public class ProgModel { public string date { get; set; } public List schedule { get; set; } } public class ScheduleModel { public string periodCode { get; set; } public string beginTime { get; set; } public string endTime { get; set; } public List programs { get; set; } } public class Programme { public string code { get; set; } public string name { get; set; } public string resolution { get; set; } public string duration { get; set; } public string backgroundColor { get; set; } public string backgroundImageCode { get; set; } public string backgroundMaterial { get; set; } public List components { get; set; } } public class Component { public string code { get; set; } public string programmeCode { get; set; } public int height { get; set; } public int width { get; set; } public int offsetX { get; set; } public int offsetY { get; set; } public int zindex { get; set; } public string typeCode { get; set; } public string parentCode { get; set; } public bool sideADOpen { get; set; } public JObject config { get; set; } public List materials { get; set; } public List subComponents { get; set; } } public class Materials { public string code { get; set; } public string componentCode { get; set; } public string programmeCode { get; set; } public int order { get; set; } public string fileUrl { get; set; } public int fileLength { get; set; } public int duration { get; set; } public string name { get; set; } public string text { get; set; } public string materialCode { get; set; } public string outerChain { get; set; } } public class subComponents { public string code { get; set; } public string programmeCode { get; set; } public int height { get; set; } public int width { get; set; } public int offsetX { get; set; } public int offsetY { get; set; } public int zindex { get; set; } public string typeCode { get; set; } public string parentCode { get; set; } public bool sideADOpen { get; set; } public JObject config { get; set; } public List materials { get; set; } } public class Materialss { public string text { get; set; } public string name { get; set; } public string fileUrl { get; set; } } }