mirror of
https://github.com/fastapi-practices/fastapi_best_architecture.git
synced 2026-03-13 09:31:31 +08:00
14 lines
377 B
Python
14 lines
377 B
Python
#!/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='数据库表名')
|