团餐订单
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.
 
 

49 lines
1.5 KiB

  1. using BPA.KitChen.GroupMealOrder.Core.Common.Const;
  2. using BPA.KitChen.GroupMealOrder.Core.Entity.Base;
  3. using Furion;
  4. using SqlSugar;
  5. using System;
  6. using System.Collections.Generic;
  7. using System.Diagnostics.Metrics;
  8. using System.Linq;
  9. using System.Text;
  10. using System.Threading.Tasks;
  11. namespace BPA.KitChen.GroupMealOrder.Core.Entity
  12. {
  13. /// <summary>
  14. /// 产盘解绑记录
  15. /// </summary>
  16. [SugarTable("bpa_weighorderdiningplateunbindrecord")]
  17. public class BPA_WeighOrderDiningPlateUnbindRecord : IBaseGroupIdEntity
  18. {
  19. /// <summary>
  20. /// 主键 Guid
  21. /// </summary>
  22. [SugarColumn(IsPrimaryKey = true, ColumnDataType = "Nvarchar(64)", IsNullable = false)]
  23. public string Id { get; set; } = Guid.NewGuid().ToString();
  24. [SugarColumn(ColumnDataType = "nvarchar(64)", ColumnDescription = "GroupId", IsNullable = true)]
  25. public string GroupId { get; set; } = App.User?.FindFirst(ClaimConst.GroupId)?.Value;
  26. public string WeighOrderId { get; set; }
  27. public string DiningPlateId { get; set; }
  28. /// <summary>
  29. /// 创建时间
  30. /// </summary>
  31. [SugarColumn(ColumnDataType = "DateTime", ColumnDescription = "创建时间", IsNullable = true)]
  32. public DateTime CreateAt { get; set; } = DateTime.Now;
  33. /// <summary>
  34. /// 创建人
  35. /// </summary>
  36. [SugarColumn(ColumnDataType = "nvarchar(64)", ColumnDescription = "创建人", IsNullable = true)]
  37. public string CreateBy { get; set; }
  38. }
  39. }