# Entity: ServerTime ```python from fastapi import APIRouter, Depends, HTTPException, status from sqlalchemy.orm import Session from core.database import get_db from models.server_time import ServerTime from schemas.server_time import ServerTimeSchema, ServerTimeCreate from helpers.server_time_helpers import create_server_time router = APIRouter() @router.post("/login", status_code=201, response_model=ServerTimeSchema) async def record_server_time( db: Session = Depends(get_db) ): """Record server time""" server_time = create_server_time(db) return server_time ```