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 serviceAddObj { [JsonProperty("id")] public string id { get; set; } [JsonProperty("code")] public string code { get; set; } [JsonProperty("name")] public string name { get; set; } [JsonProperty("addType")] public string addType { get; set; } [JsonProperty("numberDisplay")] public string numberDisplay { get; set; } [JsonProperty("priority")] public string priority { get; set; } [JsonProperty("serviceId")] public string serviceId { 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 serviceAddObjList : Response { [JsonProperty("rowsOnPage")] public string rowsOnPage { get; set; } [JsonProperty("seqPage")] public string seqPage { get; set; } [JsonProperty("totalPage")] public string totalPage { get; set; } [JsonProperty("serviceAddObjList")] public serviceAddObj[] list { get; set; } public override string ToString() { return JsonConvert.SerializeObject(this); } } }