initial commit
This commit is contained in:
12
backend/Domain/Base/BaseEntity.cs
Normal file
12
backend/Domain/Base/BaseEntity.cs
Normal file
@@ -0,0 +1,12 @@
|
||||
namespace Extrudex.Domain.Base;
|
||||
|
||||
/// <summary>
|
||||
/// Base entity providing a primary key identifier.
|
||||
/// </summary>
|
||||
public abstract class BaseEntity
|
||||
{
|
||||
/// <summary>
|
||||
/// Unique identifier for the entity.
|
||||
/// </summary>
|
||||
public Guid Id { get; set; } = Guid.NewGuid();
|
||||
}
|
||||
Reference in New Issue
Block a user