refactor(models): 更新Pydantic模型配置以兼容v2版本
将Config类替换为model_config,使用ConfigDict配置模型 添加field_serializer处理ObjectId序列化 更新PyObjectId验证器以兼容Pydantic v2
Showing
No preview for this file type
No preview for this file type
File added
No preview for this file type
Please register or sign in to comment