zotan.pw-web/Backend/database/Tables/AlbumHistory.cs

15 lines
754 B
C#

using LinqToDB.Mapping;
#pragma warning disable CS8618
namespace zotanpw.Backend.database.Tables;
[Table(Name = "AlbumHistory")]
public class AlbumHistoryEntry {
[Column(Name = "EntryID"), PrimaryKey, Identity, NotNull] public int EntryId { get; set; }
[Column(Name = "DateTime"), NotNull] public DateTime DateTime { get; set; }
[Column(Name = "Artist"), NotNull] public string Artist { get; set; }
[Column(Name = "Title"), NotNull] public string Title { get; set; }
[Column(Name = "Source"), NotNull] public string Source { get; set; }
[Column(Name = "Link")] public string Link { get; set; }
}