| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960 |
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Web;
- using Newtonsoft.Json;
- namespace ResfullApi.Models
- {
- [Serializable]
- public class usersGift
- {
- [JsonProperty("id")]
- public string id { get; set; }
- [JsonProperty("code")]
- public string code { get; set; }
- [JsonProperty("name")]
- public string name { get; set; }
- [JsonProperty("chargMoney")]
- public string chargMoney { get; set; }
- [JsonProperty("chargeCode")]
- public string chargeCode { get; set; }
- [JsonProperty("coin")]
- public string coin { get; set; }
- [JsonProperty("status")]
- public string status { get; set; }
- public override string ToString()
- {
- return JsonConvert.SerializeObject(this);
- }
- }
- public class usersGiftList
- {
- [JsonProperty("status")]
- public string status { get; set; }
- [JsonProperty("message")]
- public string message { get; set; }
- [JsonProperty("listGift")]
- public usersGift[] listGift { get; set; }
- public override string ToString()
- {
- return JsonConvert.SerializeObject(this);
- }
- }
- }
|