12 lines
323 B
Python
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)
|
|
|