using FreeSql.DataAnnotations; using System.ComponentModel; namespace Admin.Core.Common.BaseModel { /// /// 实体软删除 /// public class EntitySoftDelete : Entity, IEntitySoftDelete { /// /// 是否删除 /// [Description("是否删除")] [Column(Position = -1)] public bool IsDeleted { get; set; } = false; } public class EntitySoftDelete : EntitySoftDelete { } }