EquipmentList.cs 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. using Microsoft.EntityFrameworkCore;
  2. using System;
  3. using System.Collections.Generic;
  4. using System.ComponentModel.DataAnnotations;
  5. using System.Linq;
  6. using System.Text;
  7. using System.Threading.Tasks;
  8. namespace Business.Domain
  9. {
  10. /// <summary>
  11. /// 设备清单
  12. /// </summary>
  13. [Comment("设备清单")]
  14. public class EquipmentList
  15. {
  16. /// <summary>
  17. /// 主键
  18. /// </summary>
  19. [Comment("主键")]
  20. [Key]
  21. public long id { get; set; }
  22. /// <summary>
  23. /// 设备名称
  24. /// </summary>
  25. [Comment("设备名称")]
  26. public string MachineName { get; set; }
  27. /// <summary>
  28. /// 厂内设备类型编码
  29. /// </summary>
  30. [Comment("厂内设备类型编码")]
  31. public string InternalEquipmentCode { get; set; }
  32. /// <summary>
  33. /// 资产编码
  34. /// </summary>
  35. [Comment("资产编码")]
  36. public string EquipmentAssetID { get; set; }
  37. /// <summary>
  38. /// 设备是否可用 1-可用 0-不可用
  39. /// </summary>
  40. [Comment("设备是否可用")]
  41. public int IsSchedulable { get; set; }
  42. /// <summary>
  43. /// 预计释放时间
  44. /// </summary>
  45. [Comment("预计释放时间")]
  46. public DateTime? EstimatedMaintenanceReleaseTime { get; set; }
  47. /// <summary>
  48. /// 标准维修天数
  49. /// </summary>
  50. [Comment("标准维修天数")]
  51. public decimal? StandardRepairDays { get; set; }
  52. }
  53. }