Files
SQLBot/backend/apps/settings/models/setting_models.py

12 lines
323 B
Python
Raw Normal View History

2025-09-08 16:36:23 +08:00
from sqlmodel import Field, SQLModel
from common.core.models import SnowflakeBase
class term_model(SnowflakeBase, table=True):
__tablename__ = "terms"
term: str = Field(max_length=255)
definition: str = Field(max_length=255)
domain: str = Field(max_length=255)
create_time: int = Field(default=0)