2022-12-02 15:03:34 +01:00

21 lines
259 B
C#

using Connected.Data;
namespace Connected.Entities;
public enum State : byte
{
Default = 0,
New = 1,
Deleted = 2
}
public interface IEntity
{
State State { get; init; }
}
public interface IEntity<T> : IEntity, IPrimaryKey<T>
where T : notnull
{
}