This repository has been archived on 2023-04-02. You can view files and clone it, but cannot push or open issues or pull requests.
trainav/trainav.web/database/Tables/Trip.cs

10 lines
281 B
C#
Raw Normal View History

2020-06-11 20:29:16 +02:00
using LinqToDB.Mapping;
2022-05-03 00:20:02 +02:00
namespace trainav.web.database.Tables;
2020-06-11 20:29:16 +02:00
2022-05-03 00:20:02 +02:00
[Table(Name = "Trips")]
public class Trip {
[Column(Name = "TripID"), PrimaryKey, Identity, NotNull] public int TripId { get; set; }
[Column(Name = "UserID"), PrimaryKey, NotNull] public int UserId { get; set; }
2020-06-11 20:29:16 +02:00
}