10 lines
281 B
C#
10 lines
281 B
C#
using LinqToDB.Mapping;
|
|
|
|
namespace trainav.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; }
|
|
} |