using System; using System.Collections.Generic; using System.Linq; using System.Web; using Newtonsoft.Json; namespace ResfullApi.Models { [Serializable] // {"users":"50940227941","serviceId":"30","listNumber":"1$12$23%65$23$23","money":"30","times":"3"} public class lksObjBet { [JsonProperty("id")] public string id { get; set; } [JsonProperty("userId")] public string userId { get; set; } [JsonProperty("listNumber")] public string listNumber { get; set; } [JsonProperty("listNumberSort")] public string listNumberSort { get; set; } [JsonProperty("randomResult")] public string randomResult { get; set; } [JsonProperty("dateBet")] public string dateBet { get; set; } [JsonProperty("typeBet")] public string typeBet { get; set; } [JsonProperty("moneyBet")] public string moneyBet { get; set; } [JsonProperty("moneyWin")] public string moneyWin { get; set; } [JsonProperty("randomId")] public string randomId { get; set; } [JsonProperty("randomStatus")] public string randomStatus { get; set; } [JsonProperty("randomStartDate")] public string randomStartDate { get; set; } [JsonProperty("randomEndDate")] public string randomEndDate { get; set; } [JsonProperty("randomSysDate")] public string randomSysDate { get; set; } //Thong tin usser [JsonProperty("users")] public string users { get; set; } [JsonProperty("serviceId")] public string serviceid { get; set; } [JsonProperty("fullName")] public string fullName { get; set; } [JsonProperty("sex")] public string sex { get; set; } [JsonProperty("address")] public string address { get; set; } [JsonProperty("provinceId")] public string provinceId { get; set; } [JsonProperty("cardNumber")] public string cardNumber { get; set; } [JsonProperty("email")] public string email { get; set; } [JsonProperty("company")] public string company { get; set; } [JsonProperty("description")] public string description { get; set; } [JsonProperty("picture")] public string picture { get; set; } [JsonProperty("sexNeed")] public string sexNeed { get; set; } [JsonProperty("birthday")] public string birthday { get; set; } [JsonProperty("height")] public string height { get; set; } [JsonProperty("weight")] public string weight { get; set; } [JsonProperty("work")] public string work { get; set; } public override string ToString() { return JsonConvert.SerializeObject(this); } } }