WorkOrdDetail.cs 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  1. using Business.Model;
  2. using Microsoft.EntityFrameworkCore;
  3. using System;
  4. using System.Collections.Generic;
  5. using System.ComponentModel.DataAnnotations;
  6. using System.Linq;
  7. using System.Text;
  8. using System.Threading.Tasks;
  9. namespace Business.Model.Production
  10. {
  11. /// <summary>
  12. /// 工单物料明细表
  13. /// </summary>
  14. [Comment("工单物料明细表")]
  15. public class WorkOrdDetail
  16. {
  17. /// <summary>
  18. /// 主键
  19. /// </summary>
  20. [Comment("主键")]
  21. [Key]
  22. public int RecID { get; set; }
  23. /// <summary>
  24. /// 域名
  25. /// </summary>
  26. [Comment("域名")]
  27. public string? Domain { get; set; }
  28. /// <summary>
  29. /// 工单
  30. /// </summary>
  31. [Comment("工单")]
  32. public string? WorkOrd { get; set; }
  33. /// <summary>
  34. /// 工序
  35. /// </summary>
  36. [Comment("工序")]
  37. public int? Op { get; set; }
  38. /// <summary>
  39. /// 物料编号
  40. /// </summary>
  41. [Comment("物料编号")]
  42. public string? ItemNum { get; set; }
  43. /// <summary>
  44. /// 需求数量
  45. /// </summary>
  46. [Comment("需求数量")]
  47. public decimal? QtyRequired { get; set; }
  48. /// <summary>
  49. /// 发布数量
  50. /// </summary>
  51. [Comment("发布数量")]
  52. public decimal? QtyPosted { get; set; }
  53. /// <summary>
  54. /// 退回数量
  55. /// </summary>
  56. [Comment("退回数量")]
  57. public decimal? QtyReturned { get; set; }
  58. /// <summary>
  59. /// 状态:C为不可用状态
  60. /// </summary>
  61. [Comment("状态")]
  62. public string? Status { get; set; }
  63. /// <summary>
  64. /// 是否有效:1-有效;0-无效
  65. /// </summary>
  66. [Comment("是否有效")]
  67. public int? IsActive { get; set; }
  68. }
  69. }