| 1234567891011121314151617181920212223242526272829303132 |
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Web;
- using Newtonsoft.Json;
- namespace ResfullApi.Models
- {
- [Serializable]
- // {"title":"xxxx","serviceId":"30","content":"cong hoa xa hoi chu nghia","dateSend":"01/12/2020 01:01:10"}
- public class newsSmsObjRequest
- {
- [JsonProperty("title")]
- public string title { get; set; }
- [JsonProperty("serviceId")]
- public string serviceid { get; set; }
- [JsonProperty("content")]
- public string content { get; set; }
- [JsonProperty("dateSend")]
- public string dateSend { get; set; }
- [JsonProperty("top")]
- public string top { get; set; }
- public override string ToString()
- {
- return JsonConvert.SerializeObject(this);
- }
- }
- }
|