using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using ApiProcess.Models.bet; using CommonObj.model; using Newtonsoft.Json; namespace ApiProcess.Models.balance { public class ngamObj { [JsonProperty("id")] public string id { get; set; } [JsonProperty("name")] public string name { get; set; } [JsonProperty("serviceId")] public string serviceId { get; set; } [JsonProperty("message")] public string message { get; set; } [JsonProperty("fromDate")] public string fromDate { get; set; } [JsonProperty("toDate")] public string toDate { get; set; } [JsonProperty("percent")] public string percent { get; set; } [JsonProperty("addType")] public string addType { get; set; } [JsonProperty("sysdate")] public string sysdate { get; set; } public override string ToString() { return JsonConvert.SerializeObject(this); } } public class ngamObjList : Response { [JsonProperty("rowsOnPage")] public string rowsOnPage { get; set; } [JsonProperty("seqPage")] public string seqPage { get; set; } [JsonProperty("totalPage")] public string totalPage { get; set; } [JsonProperty("usersObjList")] public ngamObj[] list { get; set; } public override string ToString() { return JsonConvert.SerializeObject(this); } } }