An open API service indexing awesome lists of open source software.

https://github.com/anonexistent/testtaskpkfbkstudio

Тестовое задание на должность «Программист C# (WPF/Avalonia)»
https://github.com/anonexistent/testtaskpkfbkstudio

Last synced: about 1 year ago
JSON representation

Тестовое задание на должность «Программист C# (WPF/Avalonia)»

Awesome Lists containing this project

README

          

# TestTaskPkfBkStudio

erDiagram
USER {
int userID PK
string name
string surname
string patronymic
string passportSeries
string passportNumber
string email FK
}

USERLOGIN {
string email PK
string hashedPassword
}

AIRLINE {
int airlineID PK
string name
string country
}

FLIGHT {
int flightID PK
int airlineID FK
string origin
string destination
datetime departureTime
datetime arrivalTime
string flightStatusName
}

FLIGHT_STATUSE {
string flightStatusName PK
string flightStatusDescription
}

BOOKING {
int bookingID PK
int userID FK
int flightID FK
datetime bookingDate
string seatNumber
string bookingStatus
}

BOOKING_STATUSE {
string bookingStatus PK
string bookingStatusDescription
}

FAVORITE_FLIGHT {
int userID FK
int flightID FK
}

USER ||--o{ BOOKING : "makes"
BOOKING_STATUSE ||--o{ BOOKING : "of"
FLIGHT_STATUSE ||--o{ FLIGHT : "of"
USER ||--o{ FAVORITE_FLIGHT : "has"
USERLOGIN ||--|| USER : "has"
AIRLINE ||--o{ FLIGHT : "operates"
FLIGHT ||--o{ BOOKING : "is booked in"
FLIGHT ||--o{ FAVORITE_FLIGHT : "is favorited in"