mirror of
https://github.com/fastapiadmin/FastapiAdmin.git
synced 2026-09-24 05:26:58 +00:00
refactor: 重构基础模型和响应类,增加success字段 fix: 修复定时任务日志记录和异常处理问题 style: 调整中间件日志记录逻辑,优化参数处理 docs: 更新数据库配置和依赖项说明 perf: 优化文件上传服务,支持OSS存储 test: 添加定时任务日志模型和参数验证 chore: 更新依赖项,添加openai库支持
16 lines
435 B
Python
16 lines
435 B
Python
# -*- coding:utf-8 -*-
|
|
|
|
from sqlalchemy import Boolean, Column, ForeignKey, String, Integer, Text, DateTime
|
|
|
|
from app.core.base_model import BaseMixin
|
|
|
|
class PageModel(BaseMixin):
|
|
__tablename__ = "gen_page"
|
|
|
|
page_name = Column(String(length=255), comment='页面名称')
|
|
|
|
keywords = Column(String(length=500), comment='页面关键词')
|
|
|
|
title = Column(String(length=500), comment='页面title标题')
|
|
|