Add project files.
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
namespace Core.Blueprint.Domain.Contexts.SQLServer.BaseConfig
|
||||
{
|
||||
public abstract class BaseSQLEntity
|
||||
{
|
||||
public Guid Id { get; set; } = Guid.NewGuid();
|
||||
|
||||
public Guid TransactionalId { get; private set; }
|
||||
public DateTime Created = DateTime.Now;
|
||||
public DateTime Update { get; private set; }
|
||||
|
||||
|
||||
public void IsUpdate()
|
||||
{
|
||||
TransactionalId = Guid.NewGuid();
|
||||
Update = DateTime.Now;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user