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/bahnplan.web/database/Tables/Trip.cs
2020-06-12 18:19:28 +02:00

13 lines
295 B
C#

using LinqToDB.Mapping;
namespace bahnplan.web.database.Tables {
[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; }
}
}