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

11 lines
507 B
C#
Raw Normal View History

2022-11-20 03:06:41 +01:00
using LinqToDB.Mapping;
2022-11-26 13:23:58 +01:00
namespace zotanpw.Backend.database.Tables;
2022-11-20 03:06:41 +01:00
[Table(Name = "Travelynx")]
public class TravelynxInfo {
[Column(Name = "ID"), PrimaryKey, Identity, NotNull] public int Id { get; set; }
[Column(Name = "CheckedIn"), NotNull] public bool CheckedIn { get; set; }
[Column(Name = "Train")] public string? Train { get; set; }
[Column(Name = "Destination")] public string? Destination { get; set; }
2022-11-20 22:26:21 +01:00
}