团餐订单
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.Linq;
  8. using System.Text;
  9. using System.Threading.Tasks;
  10. namespace BPA.KitChen.GroupMealOrder.Core.Entity
  11. {
  12. /// <summary>
  13. /// 称重餐盘订单
  14. /// </summary>
  15. [SugarTable("bpa_weighorderdiningplate")]
  16. public class BPA_WeighOrderDiningPlate : IBaseGroupIdEntity
  17. {
  18. /// <summary>
  19. /// 主键 Guid
  20. /// </summary>
  21. [SugarColumn(IsPrimaryKey = true, ColumnDataType = "Nvarchar(64)", IsNullable = false)]
  22. public string Id { get; set; } = Guid.NewGuid().ToString();
  23. [SugarColumn(ColumnDataType = "nvarchar(64)", ColumnDescription = "GroupId", IsNullable = true)]
  24. public string GroupId { get; set; } = App.User?.FindFirst(ClaimConst.GroupId)?.Value;
  25. /// <summary>
  26. /// 订单编号
  27. /// </summary>
  28. public string WeighOrderId { get; set; }
  29. public string DiningPlateId { get; set; }
  30. /// <summary>
  31. /// 创建时间
  32. /// </summary>
  33. [SugarColumn(ColumnDataType = "DateTime", ColumnDescription = "创建时间", IsNullable = true)]
  34. public DateTime CreateAt { get; set; } = DateTime.Now;
  35. /// <summary>
  36. /// 创建人
  37. /// </summary>
  38. [SugarColumn(ColumnDataType = "nvarchar(64)", ColumnDescription = "创建人", IsNullable = false)]
  39. public string CreateBy { get; set; }
  40. }
  41. }