From 3492edf4123664e706a932bfc6c95d86b389728f Mon Sep 17 00:00:00 2001 From: Backend IM Bot Date: Thu, 27 Mar 2025 05:31:30 -0500 Subject: [PATCH] Add Name schema --- schemas/name.py | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 schemas/name.py diff --git a/schemas/name.py b/schemas/name.py new file mode 100644 index 0000000..9d4bc29 --- /dev/null +++ b/schemas/name.py @@ -0,0 +1,11 @@ +from pydantic import BaseModel, Field + +class NameBase(BaseModel): + name: str = Field(..., description="Name") + +class NameCreate(NameBase): + pass + +class NameResponse(NameBase): + class Config: + orm_mode = True \ No newline at end of file