
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
19 lines
417 B
Python
19 lines
417 B
Python
from app.schemas.ticket import (
|
|
Ticket,
|
|
TicketCreate,
|
|
TicketUpdate,
|
|
TicketWithoutSchedule,
|
|
TicketWithUser,
|
|
)
|
|
from app.schemas.token import Token, TokenPayload
|
|
from app.schemas.user import User, UserCreate, UserInDB, UserUpdate
|
|
from app.schemas.vehicle import (
|
|
Schedule,
|
|
ScheduleCreate,
|
|
ScheduleUpdate,
|
|
ScheduleWithoutVehicle,
|
|
Vehicle,
|
|
VehicleCreate,
|
|
VehicleUpdate,
|
|
)
|