| 123456789101112131415161718192021222324252627282930313233 |
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Web;
- using Newtonsoft.Json;
- namespace ResfullApi.Models
- {
- [Serializable]
- // {"id":"123","code":"23","name":"1"}
- public class usersProvice
- {
- [JsonProperty("id")]
- public string id { get; set; }
- [JsonProperty("code")]
- public string code { get; set; }
- [JsonProperty("name")]
- public string name { get; set; }
- public override string ToString()
- {
- return JsonConvert.SerializeObject(this);
- }
- }
- }
|