using System; using System.Collections.Generic; using System.Linq; using System.Web; using Newtonsoft.Json; namespace ResfullApi.Models { [Serializable] public class subCheckPlayGame: responseObjUtil { [JsonProperty("word")] public string word { get; set; } [JsonProperty("description")] public string description { get; set; } [JsonProperty("playId")] public string playId { get; set; } [JsonProperty("playKey")] public string playKey { get; set; } public override string ToString() { return JsonConvert.SerializeObject(this); } } public class subObjRegist { [JsonProperty("msisdn")] public string msisdn { get; set; } [JsonProperty("type")] public string type { get; set; } [JsonProperty("channel")] public string channel { get; set; } [JsonProperty("package")] public string package { get; set; } [JsonProperty("serviceId")] public string serviceid { get; set; } public override string ToString() { return JsonConvert.SerializeObject(this); } } public class playTop { [JsonProperty("msisdn")] public string msisdn { get; set; } [JsonProperty("totalScore")] public string totalScore { get; set; } [JsonProperty("totalTime")] public string totalTime { get; set; } } public class playTopList { [JsonProperty("status")] public string status { get; set; } [JsonProperty("message")] public string message { get; set; } [JsonProperty("listTop")] public playTop[] listTop { get; set; } public override string ToString() { return JsonConvert.SerializeObject(this); } } public class playWin { [JsonProperty("msisdn")] public string msisdn { get; set; } [JsonProperty("date")] public string date { get; set; } [JsonProperty("status")] public string status { get; set; } [JsonProperty("errCode")] public string errCode { get; set; } [JsonProperty("errMsg")] public string errMsg { get; set; } [JsonProperty("money")] public string money { get; set; } [JsonProperty("transCode")] public string transCode { get; set; } [JsonProperty("transDate")] public string transDate { get; set; } [JsonProperty("transAmount")] public string transAmount { get; set; } [JsonProperty("transFee")] public string transFee { get; set; } [JsonProperty("serviceId")] public string serviceId { get; set; } } public class playWinList { [JsonProperty("status")] public string status { get; set; } [JsonProperty("message")] public string message { get; set; } [JsonProperty("list")] public playWin[] list { get; set; } public override string ToString() { return JsonConvert.SerializeObject(this); } } }