| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849 |
- using Newtonsoft.Json;
- using System;
- using System.Collections.Generic;
- using System.Text;
- namespace CommonObj.model
- {
- public class tokenObj
- {
- [JsonProperty("key")]
- public string key { get; set; }
- [JsonProperty("token")]
- public string token { get; set; }
- [JsonProperty("users")]
- public string users { get; set; }
- [JsonProperty("password")]
- public string password { get; set; }
- [JsonProperty("channel")]
- public string channel { get; set; }
- [JsonProperty("type")] //type=LOGIN_USER,LOGIN_ADMIN,TEMP
- public string type { get; set; }
- [JsonProperty("msisdn")]
- public string msisdn { get; set; }
- [JsonProperty("role")]
- public string role { get; set; }
- [JsonProperty("obj")]
- public object obj { get; set; }
- public override string ToString()
- {
- return JsonConvert.SerializeObject(this);
- }
- }
- }
|