| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220 |
- 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 campaignObj
- {
- [JsonProperty("id")]
- public string id { get; set; }
- [JsonProperty("code")]
- public string code { get; set; }
- [JsonProperty("name")]
- public string name { get; set; }
- [JsonProperty("fromDate")]
- public string fromDate { get; set; }
- [JsonProperty("toDate")]
- public string toDate { get; set; }
- [JsonProperty("fromHour")]
- public string fromHour { get; set; }
- [JsonProperty("toHour")]
- public string toHour { get; set; }
- [JsonProperty("rule")]
- public string rule { get; set; }
- [JsonProperty("priority")]
- public string priority { get; set; }
- [JsonProperty("numberDisplay")]
- public string numberDisplay { get; set; }
- [JsonProperty("addType")]
- public string addType { get; set; }
- [JsonProperty("title")]
- public string title { get; set; }
- [JsonProperty("isReload")]
- public string isReload { get; set; }
- [JsonProperty("isDefault")]
- public string isDefault { get; set; }
- [JsonProperty("isMyService")]
- public string isMyService { get; set; }
- [JsonProperty("balanceId")]
- public string balanceId { get; set; }
- [JsonProperty("expireDateId")]
- public string expireDateId { get; set; }
- [JsonProperty("status")]
- public string status { 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("listShortCodeMapCam")]
- public List<campaignScObj> listShortCodeMapCam { get; set; }
- [JsonProperty("listBalanceMapCam")]
- public List<campaignBalObj> listBalanceMapCam { get; set; }
- [JsonProperty("listExpireMapCam")]
- public List<campaignExpObj> listExpireMapCam { get; set; }
- [JsonProperty("listServiceMapCam")]
- public List<campaignAddObj> listServiceMapCam { get; set; }
- [JsonProperty("listSubMapCam")]
- public List<campaignSubObj> listSubMapCam { get; set; }
- public override string ToString()
- {
- return JsonConvert.SerializeObject(this);
- }
- }
- public class campaignObjList : Response
- {
- [JsonProperty("rowsOnPage")]
- public string rowsOnPage { get; set; }
- [JsonProperty("seqPage")]
- public string seqPage { get; set; }
- [JsonProperty("totalPage")]
- public string totalPage { get; set; }
- [JsonProperty("campaignObjList")]
- public List<campaignObj> list { get; set; }
- public override string ToString()
- {
- return JsonConvert.SerializeObject(this);
- }
- }
- public class campaignInsert : Response
- {
- [JsonProperty("id")]
- public string id { get; set; }
-
- public override string ToString()
- {
- return JsonConvert.SerializeObject(this);
- }
- }
- public class campaignCalebdarObj
- {
- [JsonProperty("date")]
- public string date { get; set; }
- [JsonProperty("list")]
- public List<campaignObj> list { get; set; }
- public override string ToString()
- {
- return JsonConvert.SerializeObject(this);
- }
- }
- public class campaignCalebdarResponse : Response
- {
- [JsonProperty("list")]
- public List<campaignCalebdarObj> list { get; set; }
- public override string ToString()
- {
- return JsonConvert.SerializeObject(this);
- }
- }
- }
|