using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Newtonsoft.Json; namespace ApiProcess.Models.bet { public class lotoDataObj { [JsonProperty("users")] public string users { get; set; } [JsonProperty("pin")] public string pin { get; set; } [JsonProperty("otp")] public string otp { get; set; } [JsonProperty("ip")] public string ip { get; set; } [JsonProperty("paramCode")] public string paramCode { get; set; } [JsonProperty("paramCodeGroup")] public string paramCodeGroup { get; set; } [JsonProperty("ticket")] public lotoTicket[] ticket { get; set; } public override string ToString() { return JsonConvert.SerializeObject(this); } public lotoDataObj() { } } public class lotoTicket { [JsonProperty("number")] public string number { get; set; } [JsonProperty("money")] public string money { get; set; } [JsonProperty("code")] public string code { get; set; } public override string ToString() { return JsonConvert.SerializeObject(this); } } }