Non puoi selezionare più di 25 argomenti
Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.
|
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Threading.Tasks;
- using Newtonsoft.Json;
-
- namespace importer.RestObjects
- {
- [JsonObject(MemberSerialization.OptIn)]
- public class Equipment
- {
- [JsonProperty(PropertyName = "CreateDate")]
- public DateTime CreateDate { get; set; }
- [JsonProperty(PropertyName = "CreateUserID")]
- public int CreateUserID { get; set; }
- [JsonProperty(PropertyName = "BarcodeID")]
- public int? BarcodeID { get; set; }
- [JsonProperty(PropertyName = "Description")]
- public string Description { get; set; }
- [JsonProperty(PropertyName = "ID")]
- public int ID { get; set; }
- [JsonProperty(PropertyName = "IsActive")]
- public bool IsActive { get; set; }
- [JsonProperty(PropertyName = "LastServiceDate")]
- public DateTime? LastServiceDate { get; set; }
- [JsonProperty(PropertyName = "Location")]
- public string Location { get; set; }
- [JsonProperty(PropertyName = "ManufacturerYear")]
- public string ManufacturerYear { get; set; }
- [JsonProperty(PropertyName = "MeterReading")]
- public string MeterReading { get; set; }
- [JsonProperty(PropertyName = "Number")]
- public string Number { get; set; }
- [JsonProperty(PropertyName = "Odometer")]
- public string Odometer { get; set; }
- [JsonProperty(PropertyName = "SerialNumber")]
- public string SerialNumber { get; set; }
- [JsonProperty(PropertyName = "UpdateDate")]
- public DateTime? UpdateDate { get; set; }
- [JsonProperty(PropertyName = "UpdateUserID")]
- public int? UpateUserID { get; set; }
- [JsonProperty(PropertyName = "Make")]
- public Make Make { get; set; }
- [JsonProperty(PropertyName = "MakeID")]
- public int MakeID { get { return this.Make != null ? this.Make.ID : 0; } set { value = this.Make != null ? this.Make.ID : 0; } }
- [JsonProperty(PropertyName = "Product")]
- public Product Product { get; set; }
- [JsonProperty(PropertyName = "ProductID")]
- public int ProductID { get { return this.Product != null ? this.Product.ID : 0; } set { value = this.Product != null ? this.Product.ID : 0; } }
- [JsonProperty(PropertyName = "Model")]
- public Model Model { get; set; }
- [JsonProperty(PropertyName = "ModelID")]
- public int ModelID { get { return this.Model != null ? this.Model.ID : 0; } set { value = this.Model != null ? this.Model.ID : 0; } }
- [JsonProperty(PropertyName = "Customer")]
- public Customer Customer { get; set; }
- [JsonProperty(PropertyName = "CustomerID")]
- public int CustomerID { get { return this.Customer != null ? this.Customer.ID : 0; } set { value = this.Customer != null ? this.Customer.ID : 0; } }
- }
- }
|