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 company { [JsonProperty("id")] public string id { get; set; } [JsonProperty("code")] public string code { get; set; } [JsonProperty("name")] public string name { get; set; } [JsonProperty("phone")] public string phone { get; set; } [JsonProperty("email")] public string email { get; set; } [JsonProperty("address")] public string address { get; set; } [JsonProperty("desciption")] public string desciption { get; set; } [JsonProperty("note")] public string note { get; set; } [JsonProperty("usersCreated")] public string usersCreated { get; set; } [JsonProperty("dateCreated")] public string dateCreated { get; set; } [JsonProperty("usersUpdate")] public string usersUpdate { get; set; } [JsonProperty("dateUpdate")] public string dateUpdate { get; set; } public override string ToString() { return JsonConvert.SerializeObject(this); } } public class companyList : Response { [JsonProperty("rowsOnPage")] public string rowsOnPage { get; set; } [JsonProperty("seqPage")] public string seqPage { get; set; } [JsonProperty("totalPage")] public string totalPage { get; set; } [JsonProperty("companyList")] public company[] list { get; set; } public override string ToString() { return JsonConvert.SerializeObject(this); } } }