using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace JiShe.CollectBus.EntityFrameworkCore.Entities { public interface IDeletionAudited : IHasDeleter, ISoftDelete, IHasDeletionTime { } public interface ISoftDelete { bool IsDeleted { get; set; } } public interface IHasDeleter { TUser DeleterId { get; set; } } public interface IHasDeletionTime { DateTime? DeletionTime { get; set; } } }