WorkOrdRouting.cs 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  1. using Business.Model;
  2. using Microsoft.EntityFrameworkCore;
  3. using System;
  4. using System.Collections.Generic;
  5. using System.Linq;
  6. using System.Text;
  7. using System.Threading.Tasks;
  8. namespace Bussiness.Model.Production
  9. {
  10. /// <summary>
  11. /// 工单工艺流程表
  12. /// </summary>
  13. [Comment("工单工艺流程表")]
  14. public class WorkOrdRouting : BaseEntity
  15. {
  16. /// <summary>
  17. /// 主键
  18. /// </summary>
  19. [Comment("主键")]
  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? Descr { get; set; }
  31. /// <summary>
  32. /// 到期日期
  33. /// </summary>
  34. [Comment("到期日期")]
  35. public DateTime? DueDate { get; set; }
  36. /// <summary>
  37. /// 关键工序(需要报工的工序)
  38. /// </summary>
  39. [Comment("关键工序")]
  40. public int? MilestoneOp { get; set; }
  41. /// <summary>
  42. /// 工单
  43. /// </summary>
  44. [Comment("工单")]
  45. public string? WorkOrd { 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 string? ItemNum { get; set; }
  61. /// <summary>
  62. /// 订单数量
  63. /// </summary>
  64. [Comment("订单数量")]
  65. public decimal? QtyOrded { get; set; }
  66. /// <summary>
  67. /// 平行加工件数,下序开工前置数量
  68. /// </summary>
  69. [Comment("平行加工件数")]
  70. public int? OverlapUnits { get; set; }
  71. /// <summary>
  72. /// 状态:C为不可用状态
  73. /// </summary>
  74. [Comment("状态")]
  75. public string? Status { get; set; }
  76. /// <summary>
  77. /// 是否有效:1-有效;0-无效
  78. /// </summary>
  79. [Comment("是否有效")]
  80. public int? IsActive { get; set; }
  81. }
  82. }