mirror of
https://github.com/PaiGramTeam/PamGram.git
synced 2024-11-17 20:33:41 +00:00
12 lines
280 B
Python
12 lines
280 B
Python
from typing import Optional
|
|
|
|
from sqlmodel import SQLModel, Field
|
|
|
|
|
|
class User(SQLModel, table=True):
|
|
id: Optional[int] = Field(default=None, primary_key=True)
|
|
user_id: int = Field()
|
|
yuanshen_uid: int = Field()
|
|
genshin_uid: int = Field()
|
|
region: int = Field()
|