| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354 |
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Web;
- using Newtonsoft.Json;
- namespace ResfullApi.Models
- {
- [Serializable]
- public class usersPic
- {
- [JsonProperty("id")]
- public string id { get; set; }
- [JsonProperty("usersId")]
- public string usersId { get; set; }
- [JsonProperty("url")]
- public string url { get; set; }
- [JsonProperty("createdDate")]
- public string createdDate { get; set; }
- [JsonProperty("note")]
- public string note { get; set; }
- public override string ToString()
- {
- return JsonConvert.SerializeObject(this);
- }
- }
-
- public class usersPicList
- {
- [JsonProperty("status")]
- public string status { get; set; }
- [JsonProperty("message")]
- public string message { get; set; }
- [JsonProperty("listPic")]
- public usersPic[] listPic { get; set; }
- public override string ToString()
- {
- return JsonConvert.SerializeObject(this);
- }
- }
- }
|