using SqlSugar; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace BPA.SAAS.Manage.Core.Base { public abstract class IBaseEntity { /// /// 主键 Guid /// [SugarColumn(IsPrimaryKey = true, ColumnDataType = "Nvarchar(64)", IsNullable = false)] public string Id { get; set; } public DateTime CreateAt { get; set; } = DateTime.Now; public string CreateBy { get; set; } /// /// 是否删除 /// public int IsDeleted { get; set; } = 0; } }