mirror of
https://github.com/fastapi-practices/fastapi-best-architecture.git
synced 2026-10-01 00:05:20 +00:00
Refactor code generation files and routes (#748)
* Refactor code generation files and routes * Fix lint
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
#!/usr/bin/env python3
|
||||
# -*- coding: utf-8 -*-
|
||||
from pydantic import Field
|
||||
|
||||
from backend.common.schema import SchemaBase
|
||||
|
||||
|
||||
class ImportParam(SchemaBase):
|
||||
"""导入参数"""
|
||||
|
||||
app: str = Field(description='应用名称,用于代码生成到指定 app')
|
||||
table_schema: str = Field(description='数据库名')
|
||||
table_name: str = Field(description='数据库表名')
|
||||
Reference in New Issue
Block a user