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 campaignAddObj { [JsonProperty("id")] public string id { get; set; } [JsonProperty("campaignId")] public string campaignId { get; set; } [JsonProperty("serviceAddId")] public string serviceAddId { get; set; } [JsonProperty("isDelete")] public string isDelete { 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; } [JsonProperty("ussdDisplay")] public string ussdDisplay { get; set; } [JsonProperty("keyRegister")] public string keyRegister { get; set; } [JsonProperty("serviceObj")] public serviceObj serviceObj { get; set; } public override string ToString() { return JsonConvert.SerializeObject(this); } } public class campaignAddObjList : Response { [JsonProperty("rowsOnPage")] public string rowsOnPage { get; set; } [JsonProperty("seqPage")] public string seqPage { get; set; } [JsonProperty("totalPage")] public string totalPage { get; set; } [JsonProperty("list")] public List list { get; set; } public override string ToString() { return JsonConvert.SerializeObject(this); } } public class campaignBalObj { [JsonProperty("id")] public string id { get; set; } [JsonProperty("campaignId")] public string campaignId { get; set; } [JsonProperty("balanceId")] public string balanceId { get; set; } [JsonProperty("isDelete")] public string isDelete { 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; } [JsonProperty("balanceObj")] public balanceObj balanceObj { get; set; } public override string ToString() { return JsonConvert.SerializeObject(this); } } public class campaignBalObjList : Response { [JsonProperty("rowsOnPage")] public string rowsOnPage { get; set; } [JsonProperty("seqPage")] public string seqPage { get; set; } [JsonProperty("totalPage")] public string totalPage { get; set; } [JsonProperty("list")] public List list { get; set; } public override string ToString() { return JsonConvert.SerializeObject(this); } } public class campaignExpObj { [JsonProperty("id")] public string id { get; set; } [JsonProperty("campaignId")] public string campaignId { get; set; } [JsonProperty("expireId")] public string expireId { get; set; } [JsonProperty("isDelete")] public string isDelete { 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; } [JsonProperty("expireDate")] public expireDate expireDate { get; set; } public override string ToString() { return JsonConvert.SerializeObject(this); } } public class campaignExpObjList : Response { [JsonProperty("rowsOnPage")] public string rowsOnPage { get; set; } [JsonProperty("seqPage")] public string seqPage { get; set; } [JsonProperty("totalPage")] public string totalPage { get; set; } [JsonProperty("list")] public List list { get; set; } public override string ToString() { return JsonConvert.SerializeObject(this); } } public class campaignScObj { [JsonProperty("id")] public string id { get; set; } [JsonProperty("campaignId")] public string campaignId { get; set; } [JsonProperty("shortCodeId")] public string shortCodeId { get; set; } [JsonProperty("isDelete")] public string isDelete { 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; } [JsonProperty("shortCodeObj")] public shortCodeObj shortCodeObj { get; set; } public override string ToString() { return JsonConvert.SerializeObject(this); } } public class campaignScObjList : Response { [JsonProperty("rowsOnPage")] public string rowsOnPage { get; set; } [JsonProperty("seqPage")] public string seqPage { get; set; } [JsonProperty("totalPage")] public string totalPage { get; set; } [JsonProperty("list")] public List list { get; set; } public override string ToString() { return JsonConvert.SerializeObject(this); } } public class campaignSubObj { [JsonProperty("id")] public string id { get; set; } [JsonProperty("campaignId")] public string campaignId { get; set; } [JsonProperty("subId")] public string subId { get; set; } [JsonProperty("isDelete")] public string isDelete { 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; } [JsonProperty("listSubObj")] public listSubObj listSubObj { get; set; } public override string ToString() { return JsonConvert.SerializeObject(this); } } public class campaignSubObjList : Response { [JsonProperty("rowsOnPage")] public string rowsOnPage { get; set; } [JsonProperty("seqPage")] public string seqPage { get; set; } [JsonProperty("totalPage")] public string totalPage { get; set; } [JsonProperty("list")] public List list { get; set; } public override string ToString() { return JsonConvert.SerializeObject(this); } } }