using Newtonsoft.Json; using System.Runtime.Serialization; using System.Xml.Linq; namespace ConsoleApp3.DataContracts { [DataContract] public class ModelCostCentre { [DataMember(Name = "create", EmitDefaultValue = false)] [JsonProperty(PropertyName = "create")] public DateTime? Create { get; set; } /// /// date the cost centre was last updated /// /// date the cost centre was last updated [DataMember(Name = "update", EmitDefaultValue = false)] [JsonProperty(PropertyName = "update")] public DateTime? Update { get; set; } /// /// sevClient is the unique id every customer has and is used in nearly all operations /// /// sevClient is the unique id every customer has and is used in nearly all operations [DataMember(Name = "sevClient", EmitDefaultValue = false)] [JsonProperty(PropertyName = "sevClient")] public Object SevClient { get; set; } /// /// /// /// [DataMember(Name = "number", EmitDefaultValue = false)] [JsonProperty(PropertyName = "number")] public string Number { get; set; } /// /// /// /// [DataMember(Name = "name", EmitDefaultValue = false)] [JsonProperty(PropertyName = "name")] public string Name { get; set; } /// /// /// /// [DataMember(Name = "color", EmitDefaultValue = false)] [JsonProperty(PropertyName = "color")] public string Color { get; set; } /// /// /// /// [DataMember(Name = "postingAccount", EmitDefaultValue = false)] [JsonProperty(PropertyName = "postingAccount")] public string PostingAccount { get; set; } } }