26 lines
843 B
C#
26 lines
843 B
C#
using Newtonsoft.Json;
|
|
using System.Runtime.Serialization;
|
|
using System.Xml.Linq;
|
|
|
|
namespace ConsoleApp3.DataContracts
|
|
{
|
|
[DataContract]
|
|
public class ModelSevUser
|
|
{
|
|
[DataMember(Name = "id", EmitDefaultValue = false)]
|
|
[JsonProperty(PropertyName = "id")]
|
|
public int Id { get; set; } = 995002;
|
|
|
|
[DataMember(Name = "objectName", EmitDefaultValue = false)]
|
|
[JsonProperty(PropertyName = "objectName")]
|
|
public string objectName { get; set; } = "SevUser";
|
|
|
|
/// <summary>
|
|
/// This information is not visible for you
|
|
/// </summary>
|
|
/// <value>This information is not visible for you</value>
|
|
[DataMember(Name = "hidden", EmitDefaultValue = false)]
|
|
[JsonProperty(PropertyName = "hidden")]
|
|
public string Hidden { get; set; } = "";
|
|
}
|
|
} |