28 lines
559 B
C#
Raw Normal View History

2024-10-22 09:28:58 +08:00
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace JiShe.CollectBus.EntityFrameworkCore.Entities
{
public interface IDeletionAudited<TUser> : IHasDeleter<TUser>, ISoftDelete, IHasDeletionTime
{
}
public interface ISoftDelete
{
bool IsDeleted { get; set; }
}
public interface IHasDeleter<TUser>
{
TUser DeleterId { get; set; }
}
public interface IHasDeletionTime
{
DateTime? DeletionTime { get; set; }
}
}