| 123456789101112131415161718192021222324252627282930313233343536373839 |
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Web;
- using Newtonsoft.Json;
- namespace ResfullApi.Models
- {
- [Serializable]
- // {"id":"2","title":"xxxx","serviceId":"30","content":"cong hoa xa hoi chu nghia","description":"01/12/2020 01:01:10","urlPicture":"http://quangbh.jpg","type":"1"}
- public class newsWebObjUpdateRequest
- {
- [JsonProperty("id")]
- public string id { get; set; }
- [JsonProperty("title")]
- public string title { get; set; }
- [JsonProperty("serviceId")]
- public string serviceid { get; set; }
- [JsonProperty("content")]
- public string content { get; set; }
- [JsonProperty("description")]
- public string description { get; set; }
- [JsonProperty("urlPicture")]
- public string urlPicture { get; set; }
- [JsonProperty("type")]
- public string type { get; set; }
- public override string ToString()
- {
- return JsonConvert.SerializeObject(this);
- }
- }
- }
|