diff --git a/images/Autobus_ER_Diagram.svg b/images/Autobus_ER_Diagram.svg new file mode 100644 index 0000000..bc3f5a9 --- /dev/null +++ b/images/Autobus_ER_Diagram.svg @@ -0,0 +1,4 @@ + + + +CountryPKId Int NOT NULLName VarChar(64) NOT NULLRegionPKId Int NOT NULLFKCountryId Int NOT NULLName VarChar(64) NOT NULLCityPKId Int NOT NULLFKRegionId Int NOT NULLName VarChar(64) NOT NULLAddressPKId Int NOT NULLFKCityId Int NOT NULLName VarChar(128) NOT NULLLatitude Double NOT NULLLongitude Double NOT NULLVehicleType Enum NOT NULLRoutePKId Int NOT NULLRouteAddressPKId Int NOT NULLFKAddressId Int NOT NULLFKRouteId Int NOT NULLOrder Int NOT NULLRouteAddressDetailsPKId Int NOT NULLFKRouteAddressId Int NOT NULLFKVehicleEnrollmentId Int NOT NULLTimeToNextAddress TimeSpan NOT NULLCostToNextAddress Double NOT NULLCurrentAddressStopTime Double NOT NULLVehicleEnrollmentPKId int NOT NULLFKVehicleId int NOT NULLFKRouteId int NOT NULLFKDriverId int NOT NULLDepartureDateTime DateTimeUTC NOT NULLVehiclePKId Int NOT NULLFKCompanyId Int NOT NULLType Enum NOT NULLAirplanePK,FKVehicleId Int NOT NULLModel VarChar(64) NOT NULLBusPK,FKVehicleId Int NOT NULLNumber VarChar(8) NOT NULLModel VarChar(64) NOT NULLCapacity Int NOT NULLHasClimateControl Bool NOT NULLHasWiFi Bool NOT NULLHasWC Bool NOT NULLHasMultimedia Bool NOT NULLHasOutlets Bool NOT NULLHasBelts Bool NOT NULLUserPKId Int NOT NULLFirstName VarChar(32)LastName VarChar(32)Patronymic VarChar(32)Sex EnumDateOfBirth DateEmployeeDocumentPKId Int NOT NULLFKEmployeeId Int NOT NULLType Enum NOT NULLInformation VarChar(256) NOT NULLCompanyPKId Int NOT NULLFKUserId Int NOT NULLName VarChar(64) NOT NULLLegalAddress VarChar(256) NOT NULLContactEmail VarChar(256) NOT NULLContactPhoneNumber VarChar(256) NOT NULLReviewPKId Int NOT NULLFKUserId Int NOT NULLFKVehicleEnrollmentId Int NOT NULLRating Int NOT NULLComment VarChar(128)PostDateTime DateTimeUtc NOT NULLTicketPKId Int NOT NULLFKUserId Int NOT NULLFKVehicleEnrollmentId Int NOT NULLVehicleType Enum NOT NULLPassangerFirstName VarChar(32) NOT NULLPassangerLastName VarChar(32) NOT NULLPassangerPatronymic VarChar(32) NOT NULLPassangerSex Enum NOT NULLPassangerBirthDate Date NOT NULLTicketGroupPKId Int NOT NULLFKUserId Int NOT NULLBuyerFirstName VarChar(32) NOT NULLBuyerLastName VarChar(32) NOT NULLBuyerPhoneNumber VarChar(16) NOT NULLBuyerEmail VarChar(256) NOT NULLPurchaseDateTime DateTimeUTC NOT NULLIsReturned Bool NOT NULL
ASP.NET
Identity Layer
ASP.NET...
TrainPK,FKVehicleId Int NOT NULLModel VarChar(64) NOT NULLCarriagePKVehicleId Int NOT NULLType Enum NOT NULLCapacity Int NOT NULLNumber Int NOT NULLHasClimateControl Bool NOT NULLHasWiFi Bool NOT NULLHasWC Bool NOT NULLHasOutlets Bool NOT NULLPetsAllowed Bool NOT NULLEmployeePKId Int NOT NULLFKUserId Int NOT NULLFKCompanyId Int NOT NULLFisrtName VarChar(32) NOT NULLLastName VarChar(32) NOT NULLPatronymic VarChar(32) NOT NULLSex Enum NOT NULLDateOfBirth Date NOT NULLTrainCarriagePKId Int NOT NULLPKId Int NOT NULLPKId Int NOT NULLTicketDocumentPKId Int NOT NULLFKTicketId Int NOT NULLType Enum NOT NULLInformation VarChar(256) NOT NULL
Text is not SVG - cannot display
\ No newline at end of file