Moves the remaining uncommitted work: the home gets quick mixes and a "Tus álbumes" shelf, saving a YouTube album now goes through addYoutubeAlbumToPlaylistAction instead of the SaveYouTubeAlbum command, and UserAlbum drops its unused ExternalId. The mixes section keeps its current shape (no refresh action, no badge, hidden when empty) rather than the older version the worktree carried.
16 lines
370 B
C#
16 lines
370 B
C#
using System.ComponentModel.DataAnnotations;
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
|
|
namespace Musify.Domain.Entities
|
|
{
|
|
#pragma warning disable CS8618
|
|
public class UserAlbum : Album
|
|
{
|
|
[Required]
|
|
public required long OwnerUserId { get; set; }
|
|
|
|
[ForeignKey(nameof(OwnerUserId))]
|
|
public User Owner { get; set; }
|
|
}
|
|
}
|