Multi DB support

This commit is contained in:
yhjun1026 2023-07-21 17:25:16 +08:00
parent 23dadef155
commit 760e8ed5a3

View File

@ -0,0 +1,11 @@
from pydantic import BaseModel, Field
class DBConfig(BaseModel):
db_type: str
db_name: str
file_path: str = ""
db_host: str = ""
db_port: int = 0
db_user: str = ""
db_pwd: str = ""
comment: str = ""