mirror of
https://github.com/meysamhadeli/booking-microservices.git
synced 2026-04-11 02:20:20 +08:00
12 lines
375 B
C#
12 lines
375 B
C#
namespace BuildingBlocks.Core.Model;
|
|
|
|
public abstract record Entity<T> : IEntity<T>
|
|
{
|
|
public T Id { get; set; }
|
|
public DateTime? CreatedAt { get; set; }
|
|
public long? CreatedBy { get; set; }
|
|
public DateTime? LastModified { get; set; }
|
|
public long? LastModifiedBy { get; set; }
|
|
public bool IsDeleted { get; set; }
|
|
public long Version { get; set; }
|
|
} |