Files
FastapiAdmin/backend/app/api/v1/module_gencode/gen_demo01/model.py
T
zhangtao 1d91d8c1da 1.ai连接报错(完成)
2.crud后的前端列表高度(完成)
3.代码生成批量选中(完成)
4.登录背景动态展示(完成)
5.代码生成表单宽度调整(完成)
2025-12-17 01:29:20 +08:00

19 lines
511 B
Python

# -*- coding: utf-8 -*-
from sqlalchemy import Text, DateTime, Integer, String
from sqlalchemy.orm import Mapped, mapped_column
from app.core.base_model import ModelMixin, UserMixin
class GenDemo01Model(ModelMixin, UserMixin):
"""
示例表
"""
__tablename__: str = 'gen_demo01'
__table_args__: dict[str, str] = {'comment': '示例'}
__loader_options__: list[str] = ["created_by", "updated_by"]
name: Mapped[str | None] = mapped_column(String, nullable=True, comment='名称')