mo_mes_moentry.cs 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. using Business.Core.Attributes;
  2. using Microsoft.EntityFrameworkCore;
  3. using System.ComponentModel.DataAnnotations;
  4. namespace Business.Domain
  5. {
  6. /// <summary>
  7. /// 生成工单子表
  8. /// </summary>
  9. [CollectionName("dopbase", "mo_mes_moentry")]
  10. [Comment("生成工单子表")]
  11. public class mo_mes_moentry : MoBaseEntity
  12. {
  13. ///// <summary>
  14. ///// 生产工单子表id
  15. ///// </summary>
  16. //[Key]
  17. //[Comment("生产工单子表id")]
  18. //public long moentry_id { get; set; }
  19. /// <summary>
  20. /// 工单主表id
  21. /// </summary>
  22. [Comment("工单主表id")]
  23. public long moentry_moid { get; set; }
  24. /// <summary>
  25. /// 工单编号
  26. /// </summary>
  27. [StringLength(80)]
  28. [Comment("工单编号")]
  29. public string? moentry_mono { get; set; }
  30. /// <summary>
  31. /// 订单行id
  32. /// </summary>
  33. [Comment("订单行id")]
  34. public long? soentry_id { get; set; }
  35. /// <summary>
  36. /// 订单行号
  37. /// </summary>
  38. [Comment("订单行号")]
  39. public long? fentry_id { get; set; }
  40. /// <summary>
  41. /// 订单编号
  42. /// </summary>
  43. [StringLength(80)]
  44. [Comment("订单编号")]
  45. public string? fbill_no { get; set; }
  46. /// <summary>
  47. /// 单位
  48. /// </summary>
  49. [StringLength(80)]
  50. [Comment("单位")]
  51. public string? unit { get; set; }
  52. /// <summary>
  53. /// 工单生产数量(计划数量)
  54. /// </summary>
  55. [Precision(23, 10)]
  56. [Comment("工单生产数量(计划数量)")]
  57. public decimal? morder_production_number { get; set; }
  58. /// <summary>
  59. /// 需求数量
  60. /// </summary>
  61. [Precision(23, 10)]
  62. [Comment("需求数量")]
  63. public decimal? need_number { get; set; }
  64. /// <summary>
  65. /// 剩余可用数量
  66. /// </summary>
  67. [Precision(23, 10)]
  68. [Comment("剩余可用数量")]
  69. public decimal? remaining_number { get; set; }
  70. /// <summary>
  71. /// 计算ID
  72. /// </summary>
  73. [Comment("计算id")]
  74. public long? bang_id { get; set; }
  75. }
  76. }