Files
SQLBot/backend/apps/settings/models/setting_models.py
2025-09-08 16:36:23 +08:00

12 lines
323 B
Python

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)