from pydantic import BaseModel, Field


class Score(BaseModel):
    id: int = Field(..., alias='id')
    session_id: int = Field(..., alias='session_id')
    article_id: str = Field(..., alias='article_id')
    category: str = Field(..., alias='category')
    domain: str = Field(..., alias='domain')
    score: float = Field(..., alias='score')
    audio_path: str = Field(alias='audio_path', default=None)


class ScoreInsert(BaseModel):
    article_id: str
    url: str
    category: str
    domain: str
    score: float

34cb80d23ca6dcc5cb123c32baa20602f0734c87
<mask token>

<mask token>


class ScoreInsert(BaseModel):
    article_id: str
    url: str
    category: str
    domain: str
    score: float

<mask token>


class Score(BaseModel):
    id: int = Field(..., alias='id')
    session_id: int = Field(..., alias='session_id')
    article_id: str = Field(..., alias='article_id')
    category: str = Field(..., alias='category')
    domain: str = Field(..., alias='domain')
    score: float = Field(..., alias='score')
    audio_path: str = Field(alias='audio_path', default=None)


class ScoreInsert(BaseModel):
    article_id: str
    url: str
    category: str
    domain: str
    score: float

from pydantic import BaseModel, Field


class Score(BaseModel):
    id: int = Field(..., alias='id')
    session_id: int = Field(..., alias='session_id')
    article_id: str = Field(..., alias='article_id')
    category: str = Field(..., alias='category')
    domain: str = Field(..., alias='domain')
    score: float = Field(..., alias='score')
    audio_path: str = Field(alias='audio_path', default=None)


class ScoreInsert(BaseModel):
    article_id: str
    url: str
    category: str
    domain: str
    score: float
