ProdLineDetail.cs 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120
  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 ProdLineDetail
  15. {
  16. /// <summary>
  17. /// 主键
  18. /// </summary>
  19. [Comment("主键")]
  20. [Key]
  21. public int RecID { get; set; }
  22. /// <summary>
  23. /// 域名
  24. /// </summary>
  25. [Comment("域名")]
  26. public string Domain { get; set; }
  27. /// <summary>
  28. /// 生产线
  29. /// </summary>
  30. [Comment("生产线")]
  31. public string Line { get; set; }
  32. /// <summary>
  33. /// 物料编号
  34. /// </summary>
  35. [Comment("物料编号")]
  36. public string Part { get; set; }
  37. /// <summary>
  38. /// 单位标准产能=Uph
  39. /// </summary>
  40. [Comment("单位标准产能")]
  41. public decimal Rate { get; set; }
  42. /// <summary>
  43. /// 工序
  44. /// </summary>
  45. [Comment("工序")]
  46. public int Op { get; set; }
  47. /// <summary>
  48. /// 是否有效:1-有效;0-无效
  49. /// </summary>
  50. [Comment("是否有效")]
  51. public bool IsActive { get; set; }
  52. /// <summary>
  53. /// 当前产线准备时间(小时)
  54. /// </summary>
  55. [Comment("当前产线准备时间")]
  56. public decimal SetupTime { get; set; }
  57. /// <summary>
  58. /// 当前产线提前期(小时)
  59. /// </summary>
  60. [Comment("当前产线提前期")]
  61. public decimal OverlapTime { get; set; }
  62. /// <summary>
  63. /// 优先级
  64. /// </summary>
  65. [Comment("优先级")]
  66. public decimal Sequence { get; set; }
  67. /// <summary>
  68. /// 设备编码
  69. /// </summary>
  70. [Comment("设备编码")]
  71. public string InternalEquipmentCode { get; set; }
  72. /// <summary>
  73. /// 模具编码
  74. /// </summary>
  75. [Comment("模具编码")]
  76. public string MoldTypeCode { get; set; }
  77. /// <summary>
  78. /// 工作中心编码
  79. /// </summary>
  80. [Comment("工作中心编码")]
  81. public string Site { get; set; }
  82. /// <summary>
  83. /// 员工技能编码
  84. /// </summary>
  85. [Comment("员工技能编码")]
  86. public string SkillNo { get; set; }
  87. /// <summary>
  88. /// 标准人数
  89. /// </summary>
  90. [Comment("标准人数")]
  91. public decimal StandardStaffCount { get; set; }
  92. /// <summary>
  93. /// 工序类型:M机械,P人工
  94. /// </summary>
  95. [Comment("工序类型")]
  96. public string OpType { get; set; }
  97. /// <summary>
  98. /// Bom版本
  99. /// </summary>
  100. [Comment("Bom版本")]
  101. public string Bom { get; set; }
  102. }
  103. }