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

15 lines
754 B
C#
Raw Normal View History

2022-11-20 03:06:41 +01:00
using LinqToDB.Mapping;
2022-11-20 17:00:51 +01:00
2022-11-20 03:06:41 +01:00
#pragma warning disable CS8618
2022-11-26 13:23:58 +01:00
namespace zotanpw.Backend.database.Tables;
2022-11-20 03:06:41 +01:00
[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; }
2022-11-20 22:26:21 +01:00
}