
This commit includes: - Project structure and FastAPI setup - SQLAlchemy models for users, vehicles, schedules, and tickets - Alembic migrations - User authentication and management - Vehicle and schedule management - Ticket purchase and cancellation with time restrictions - Comprehensive API documentation
13 lines
324 B
Python
13 lines
324 B
Python
from app.models.ticket import Ticket, TicketStatus
|
|
from app.models.user import User
|
|
from app.models.vehicle import Schedule, Vehicle, VehicleType
|
|
|
|
# This list should contain all models for Alembic to detect changes
|
|
__all__ = [
|
|
"User",
|
|
"Vehicle",
|
|
"VehicleType",
|
|
"Schedule",
|
|
"Ticket",
|
|
"TicketStatus",
|
|
] |