mirror of
https://github.com/BinaryAlley/Nemera.git
synced 2026-12-03 10:11:10 +00:00
Adds music play history domain aggregate
This commit is contained in:
1 parent
067e9a21d0
commit
9919965a73
14 files changed
+828
No files matched your search
@@ -0,0 +1,19 @@
|
||||
#region ========================================================================= USING =====================================================================================
|
||||
using Lumina.Domain.Common.Primitives;
|
||||
#endregion
|
||||
|
||||
namespace Lumina.Domain.Common.Errors;
|
||||
|
||||
/// <summary>
|
||||
/// Music play history error types.
|
||||
/// </summary>
|
||||
public static partial class Errors
|
||||
{
|
||||
public static class MusicPlayHistory
|
||||
{
|
||||
public static Error PlayIsNotInProgress => Error.Conflict(description: nameof(PlayIsNotInProgress));
|
||||
public static Error ListenedDurationCannotDecrease => Error.Validation(description: nameof(ListenedDurationCannotDecrease));
|
||||
public static Error InProgressPlayCannotHaveEndTime => Error.Validation(description: nameof(InProgressPlayCannotHaveEndTime));
|
||||
public static Error EndedPlayMustHaveEndTime => Error.Validation(description: nameof(EndedPlayMustHaveEndTime));
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user