using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Newtonsoft.Json; namespace ApiProcess.Models.bet { public class betTicketWinObj { [JsonProperty("seq")] public string seq { get; set; } [JsonProperty("msisdn")] public string msisdn { get; set; } [JsonProperty("tiket")] public string tiket { get; set; } [JsonProperty("ticketDate")] public string ticketDate { get; set; } [JsonProperty("ticketMoney")] public string ticketMoney { get; set; } [JsonProperty("winnerCode")] public string winnerCode { get; set; } [JsonProperty("winnerDetail")] public string winnerDetail { get; set; } [JsonProperty("randomId")] public string randomId { get; set; } [JsonProperty("termDateStart")] public string termDateStart { get; set; } [JsonProperty("termDateEnd")] public string termDateEnd { get; set; } [JsonProperty("termDateRandom")] public string termDateRandom { get; set; } [JsonProperty("eCreateDate")] public string eCreateDate { get; set; } [JsonProperty("eExpireDate")] public string eExpireDate { get; set; } [JsonProperty("evoucher")] public string evoucher { get; set; } [JsonProperty("emoney")] public string emoney { get; set; } public override string ToString() { return JsonConvert.SerializeObject(this); } } public class betTicketWinObjList : ResCommnon { [JsonProperty("rowsOnPage")] public string rowsOnPage { get; set; } [JsonProperty("seqPage")] public string seqPage { get; set; } [JsonProperty("totalPage")] public string totalPage { get; set; } [JsonProperty("totalRow")] public string totalRow { get; set; } [JsonProperty("list")] public betTicketWinObj[] list { get; set; } public override string ToString() { return JsonConvert.SerializeObject(this); } } }