mirror of
https://github.com/BinaryAlley/Nemera.git
synced 2026-12-03 11:11:10 +00:00
Implements Data Access Layer
This commit is contained in:
1 parent
b69e59a3d8
commit
8b729cc16c
24 files changed
+1721
-9
No files matched your search
@@ -12,6 +12,7 @@ public static partial class Errors
|
||||
public static class WrittenContent
|
||||
{
|
||||
#region ==================================================================== PROPERTIES =================================================================================
|
||||
public static Error BookAlreadyExists => Error.Conflict(nameof(BookAlreadyExists));
|
||||
public static Error IsbnValueCannotBeEmpty => Error.Validation(nameof(IsbnValueCannotBeEmpty));
|
||||
public static Error IsbnListCannotBeNull => Error.Validation(nameof(IsbnListCannotBeNull));
|
||||
public static Error InvalidIsbn10Format => Error.Validation(nameof(InvalidIsbn10Format));
|
||||
|
||||
@@ -0,0 +1,12 @@
|
||||
namespace Lumina.Domain.Common.Events;
|
||||
|
||||
/// <summary>
|
||||
/// Interface defining a domain event.
|
||||
/// </summary>
|
||||
public interface IDomainEvent
|
||||
{
|
||||
#region ==================================================================== PROPERTIES =================================================================================
|
||||
Guid Id { get; }
|
||||
DateTime OccurredOn { get; }
|
||||
#endregion
|
||||
}
|
||||
Reference in new issue
Block a user