fix: revert company_id back to int type
This commit is contained in:
parent
6ae0322918
commit
126ede33ab
|
|
@ -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="발전소 위치")
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user