usersProviceList.cs 641 B

1234567891011121314151617181920212223242526272829
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Web;
  5. using Newtonsoft.Json;
  6. namespace ResfullApi.Models
  7. {
  8. [Serializable]
  9. // {"userId":"123","coin":"23","type":"1","tranCode":"ADD"}
  10. public class usersProviceList
  11. {
  12. [JsonProperty("status")]
  13. public string status { get; set; }
  14. [JsonProperty("message")]
  15. public string message { get; set; }
  16. [JsonProperty("listProvice")]
  17. public usersProvice[] listProvice { get; set; }
  18. public override string ToString()
  19. {
  20. return JsonConvert.SerializeObject(this);
  21. }
  22. }
  23. }