using System.ComponentModel.DataAnnotations.Schema;

namespace songrequests_blazor.Data
{
    public class Library
    {
        public int Id { get; set; }
        public string Name { get; set; } = null!;
        public List<Song>? Songs { get; set; }
        public List<string>? ScanPaths { get; set; } 
        public LibraryType Type { get; set; }

        [Column("Sessions_ID")]
        public virtual List<Session>? UsedInSessions { get; set; }

        public enum LibraryType
        {
            Local,
            Spotify
        }

    }
}
