first commit
This commit is contained in:
commit
7a72438fd1
74 changed files with 7548 additions and 0 deletions
13
backend/app/models/pronunciation.py
Normal file
13
backend/app/models/pronunciation.py
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
from pydantic import BaseModel
|
||||
from typing import List
|
||||
from datetime import datetime
|
||||
|
||||
class PronunciationItem(BaseModel):
|
||||
word: str
|
||||
phonetic: str
|
||||
syllables: List[str]
|
||||
definition: str
|
||||
|
||||
class PronunciationDB(PronunciationItem):
|
||||
id: str
|
||||
created_at: datetime
|
||||
Loading…
Add table
Add a link
Reference in a new issue