Clean up domain entities: shared picture value object, lifecycle and ownership interfaces, explicit tables

This commit is contained in:
2026-09-24 11:43:50 +02:00
parent 4d943e068e
commit 5a0f82b77b
45 changed files with 122 additions and 190 deletions
@@ -0,0 +1,10 @@
using Musify.Domain.ValueObjects;
namespace Musify.Domain.Abstractions;
public interface IHasLifeCycle
{
public Guid Id { get; }
public LifeCycleStatus LifeCycleStatus { get; set; }
}
@@ -0,0 +1,8 @@
namespace Musify.Domain.Abstractions;
public interface IOwnedEntity
{
public Guid Id { get; }
public long OwnerUserId { get; }
}