using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using CommonObj.model; using Newtonsoft.Json; namespace ResfullApi.Models { public class userWebCmsObj { [JsonProperty("id")] public string id { get; set; } [JsonProperty("username")] public string username { get; set; } [JsonProperty("password")] public string password { get; set; } [JsonProperty("role")] public string role { get; set; } [JsonProperty("countryCode")] public string countryCode { get; set; } [JsonProperty("isLock")] public string isLock { get; set; } [JsonProperty("totalFalse")] public string totalFalse { get; set; } [JsonProperty("timeLock")] public string timeLock { get; set; } [JsonProperty("note")] public string note { get; set; } public override string ToString() { return JsonConvert.SerializeObject(this); } } public class userWebCmsObjList : Response { [JsonProperty("rowsOnPage")] public string rowsOnPage { get; set; } [JsonProperty("seqPage")] public string seqPage { get; set; } [JsonProperty("totalPage")] public string totalPage { get; set; } [JsonProperty("list")] public userWebCmsObj[] list { get; set; } public override string ToString() { return JsonConvert.SerializeObject(this); } } public class functionWebCmsObj { [JsonProperty("id")] public string id { get; set; } [JsonProperty("role")] public string role { get; set; } [JsonProperty("name")] public string name { get; set; } [JsonProperty("link")] public string link { get; set; } [JsonProperty("note")] public string note { get; set; } public override string ToString() { return JsonConvert.SerializeObject(this); } } public class functionWebCmsObjList : Response { [JsonProperty("rowsOnPage")] public string rowsOnPage { get; set; } [JsonProperty("seqPage")] public string seqPage { get; set; } [JsonProperty("totalPage")] public string totalPage { get; set; } [JsonProperty("list")] public functionWebCmsObj[] list { get; set; } public override string ToString() { return JsonConvert.SerializeObject(this); } } }