团餐订单
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

108 lines
3.3 KiB

  1. using SqlSugar;
  2. namespace BPA.KitChen.GroupMealOrder.Core.Entity
  3. {
  4. [SugarTable("BPA_SubOrder")]
  5. public class BPA_SubOrder
  6. {
  7. /// <summary>
  8. ///
  9. /// </summary>
  10. public string Id { get; set; }
  11. /// <summary>
  12. /// 主订单表Id
  13. /// </summary>
  14. public string OrderId { get; set; }
  15. /// <summary>
  16. /// 商品表Id
  17. /// </summary>
  18. public string GoodId { get; set; }
  19. /// <summary>
  20. /// 设备id
  21. /// </summary>
  22. public string StoreId { get; set; }
  23. /// <summary>
  24. /// 应付款
  25. /// </summary>
  26. public decimal GooodOriginPrice { get; set; }
  27. /// <summary>
  28. /// 商品平摊价格(实付款)
  29. /// </summary>
  30. public decimal GoodsRealPrice { get; set; }
  31. /// <summary>
  32. /// 备注
  33. /// </summary>
  34. public string Remark { get; set; }
  35. /// <summary>
  36. /// 订单状态 1已下单(云服务将订单信息存放在redis) 2等待制作(上位机从redis取出) 3 制作中 4 制作完成待取餐 5 取餐完成
  37. /// </summary>
  38. public int CookingStatus { get; set; }
  39. /// <summary>
  40. /// 废弃状态 0 正常 1 废弃
  41. /// </summary>
  42. public int IsVaild { get; set; }
  43. /// <summary>
  44. /// 废弃时间
  45. /// </summary>
  46. public string VaildTime { get; set; }
  47. /// <summary>
  48. /// 开始制作时间 cookingStatu更新为3时更新此字段
  49. /// </summary>
  50. public string StartCookingTime { get; set; }
  51. /// <summary>
  52. /// 结束制作时间 cookingStatus跟新为4时更新此字段
  53. /// </summary>
  54. public string EndCookingTime { get; set; }
  55. /// <summary>
  56. /// 完成取餐时间 cookingStatus更新为5时更新此字段
  57. /// </summary>
  58. public string CompleteTakeTime { get; set; }
  59. /// <summary>
  60. /// 创建于
  61. /// </summary>
  62. public string CreatedAt { get; set; }
  63. /// <summary>
  64. /// 创建人
  65. /// </summary>
  66. public string CreatedBy { get; set; }
  67. /// <summary>
  68. /// 更新于
  69. /// </summary>
  70. public string UpdatedAt { get; set; }
  71. /// <summary>
  72. /// 更新人
  73. /// </summary>
  74. public string UpdatedBy { get; set; }
  75. /// <summary>
  76. /// 自动修改 记录最新的修改时间
  77. /// </summary>
  78. public string UpdatedTs { get; set; }
  79. /// <summary>
  80. /// 排序
  81. /// </summary>
  82. public string SortNumber { get; set; }
  83. /// <summary>
  84. /// 后厨小票打印次数
  85. /// </summary>
  86. public int SalvePrintCount { get; set; }
  87. /// <summary>
  88. /// 做法Id
  89. /// </summary>
  90. public string MakeId { get; set; }
  91. /// <summary>
  92. /// 做法名称
  93. /// </summary>
  94. public string MakeName { get; set; }
  95. /// <summary>
  96. /// 是否设备
  97. /// </summary>
  98. public int IsDevice { get; set; }
  99. /// <summary>
  100. /// 是否赠送 true 赠送
  101. /// </summary>
  102. public bool IsGift { get; set; }
  103. }
  104. }