| 12345678910111213141516171819202122232425262728293031 |
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Web;
- using Newtonsoft.Json;
- namespace ResfullApi.Models
- {
- [Serializable]
- // {"userId":"123","coin":"23","type":"1","tranCode":"ADD"}
- public class usersObjCoin
- {
- [JsonProperty("userId")]
- public string userId { get; set; }
-
- [JsonProperty("coin")]
- public string coin { get; set; }
- [JsonProperty("type")]
- public string type { get; set; }
- [JsonProperty("tranCode")]
- public string tranCode { get; set; }
- public override string ToString()
- {
- return JsonConvert.SerializeObject(this);
- }
- }
- }
|