Replacement for JDIS Importer
選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

33 行
1.2 KiB

  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Threading.Tasks;
  5. using Newtonsoft.Json;
  6. namespace jdis_import.RESTObjects
  7. {
  8. public class InspectionLevel
  9. {
  10. [JsonProperty(PropertyName = "CreateDate")]
  11. public DateTime CreateDate { get; set; }
  12. [JsonProperty(PropertyName = "CreateUserID")]
  13. public int CreateUserID { get; set; }
  14. [JsonProperty(PropertyName = "Description")]
  15. public string Description { get; set; }
  16. [JsonProperty(PropertyName = "ID")]
  17. public int ID { get; set; }
  18. [JsonProperty(PropertyName = "InspectionType")]
  19. public InspectionType InspectionType { get; set; }
  20. [JsonProperty(PropertyName = "InspectionTypeID")]
  21. public int InspectionTypeID { get { return this.InspectionType != null ? this.InspectionType.ID : 0; } }
  22. [JsonProperty(PropertyName = "IsActive")]
  23. public bool IsActive { get; set; }
  24. [JsonProperty(PropertyName = "Name")]
  25. public string Name { get; set; }
  26. [JsonProperty(PropertyName = "UpdateDate")]
  27. public DateTime? UpdateDate { get; set; }
  28. [JsonProperty(PropertyName = "UpdateUserID")]
  29. public int? UpdateUserID { get; set; }
  30. }
  31. }