From 126ede33ab1081a491f9586b571b6be111af5402 Mon Sep 17 00:00:00 2001 From: haneulai Date: Thu, 22 Jan 2026 15:25:52 +0900 Subject: [PATCH] fix: revert company_id back to int type --- app/schemas/plant.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/schemas/plant.py b/app/schemas/plant.py index 1c3da23..c912cec 100644 --- a/app/schemas/plant.py +++ b/app/schemas/plant.py @@ -13,7 +13,7 @@ class PlantBase(BaseModel): model_config = {"from_attributes": True} id: str # DB에서 문자열 형식 사용 - company_id: str # DB에서 문자열 형식 사용 + company_id: int # DB에서 정수형 사용 name: str capacity: Optional[float] = Field(None, description="발전 용량 (kW)") location: Optional[str] = Field(None, description="발전소 위치")