|
- 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
- {
- /// <summary>
- /// 主键 Guid
- /// </summary>
- [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; }
- /// <summary>
- /// 是否删除
- /// </summary>
- public int IsDeleted { get; set; } = 0;
- }
- }
|