RoutingOpDetail.cs 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101
  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. public class RoutingOpDetail
  14. {
  15. /// <summary>
  16. /// 主键
  17. /// </summary>
  18. [Comment("主键")]
  19. [Key]
  20. public int RecID { get; set; }
  21. /// <summary>
  22. /// 域名
  23. /// </summary>
  24. [Comment("域名")]
  25. public string Domain { get; set; }
  26. /// <summary>
  27. /// 物料编码
  28. /// </summary>
  29. [Comment("物料编码")]
  30. public string RoutingCode { get; set; }
  31. /// <summary>
  32. /// 描述
  33. /// </summary>
  34. [Comment("描述")]
  35. public string Descr { get; set; }
  36. /// <summary>
  37. /// 用于判断是组装热风包装
  38. /// </summary>
  39. [Comment("用于判断是组装热风包装")]
  40. public string? Ufld1 { get; set; }
  41. /// <summary>
  42. /// 关键工序
  43. /// </summary>
  44. [Comment("关键工序")]
  45. public bool MilestoneOp { get; set; }
  46. /// <summary>
  47. /// 工序
  48. /// </summary>
  49. [Comment("工序")]
  50. public int Op { get; set; }
  51. /// <summary>
  52. /// 父级工序
  53. /// </summary>
  54. [Comment("父级工序")]
  55. public int ParentOp { get; set; }
  56. /// <summary>
  57. /// 运行时间(标准节拍)
  58. /// </summary>
  59. [Comment("运行时间")]
  60. public decimal RunTime { get; set; }
  61. /// <summary>
  62. /// 平行加工件数,下序开工前置数量
  63. /// </summary>
  64. [Comment("平行加工件数")]
  65. public int? OverlapUnits { get; set; }
  66. /// <summary>
  67. /// 备注索引
  68. /// </summary>
  69. [Comment("备注索引")]
  70. public int CommentIndex { get; set; }
  71. /// <summary>
  72. /// 是否有效:1-有效;0-无效
  73. /// </summary>
  74. [Comment("是否有效")]
  75. public bool IsActive { get; set; }
  76. /// <summary>
  77. /// 报工批量
  78. /// </summary>
  79. [Comment("报工批量")]
  80. public decimal? PackingQty { get; set; }
  81. /// <summary>
  82. /// SAP工序
  83. /// </summary>
  84. [Comment("SAP工序")]
  85. public string StdOp { get; set; }
  86. }
  87. }