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

25 lines
783 B

  1. using BPA.KitChen.GroupMealOrder.Core.Common.Const;
  2. using BPA.KitChen.GroupMealOrder.Core.Enum;
  3. using Furion;
  4. using SqlSugar;
  5. using System;
  6. namespace BPA.KitChen.GroupMealOrder.Core.Entity.Base
  7. {
  8. /// <summary>
  9. /// 自定义实体基类
  10. /// </summary>
  11. public abstract class IEntity: IBaseOPEntity, IBaseGroupIdEntity
  12. {
  13. /// <summary>
  14. /// 状态
  15. /// </summary>
  16. [SugarColumn(ColumnDataType = "int", ColumnDescription = "状态", IsNullable = false)]
  17. public CommonStatus Status { get; set; } = CommonStatus.ENABLE;
  18. [SugarColumn(ColumnDataType = "nvarchar(64)", ColumnDescription = "GroupId", IsNullable = true)]
  19. public string GroupId { get; set; } = App.User?.FindFirst(ClaimConst.GroupId)?.Value;
  20. }
  21. }