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.
 
 

24 lines
552 B

  1. using Furion;
  2. using SqlSugar;
  3. using System;
  4. using System.Collections.Generic;
  5. using System.Linq;
  6. using System.Text;
  7. using System.Threading.Tasks;
  8. namespace BPA.KitChen.GroupMeal.Core.Entity.Base
  9. {
  10. /// <summary>
  11. /// 基础类型
  12. /// </summary>
  13. public abstract class IBaseEntity
  14. {
  15. /// <summary>
  16. /// 主键 Guid
  17. /// </summary>
  18. [SugarColumn(IsPrimaryKey = true, ColumnDataType = "Nvarchar(64)", IsNullable = false)]
  19. public string Id { get; set; } = Guid.NewGuid().ToString();
  20. }
  21. }