using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; namespace RadicadeServer.RecNet.DB { public class PlaylistDB { [Key] public long PlaylistId { get; set; } public string Keywords { get; set; } = string.Empty; public string[] GetKeywords() { return Keywords.Split(',', StringSplitOptions.TrimEntries); } } public class TagDB { [Key] [DatabaseGenerated(DatabaseGeneratedOption.Identity)] public long TagId { get; set; } public string Tag { get; set; } = string.Empty; public string Description { get; set; } = string.Empty; } }