File size: 273 Bytes
d5684b3
9c3303f
d5684b3
 
81ec8d6
 
 
 
 
9c3303f
 
d5684b3
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
from datetime import datetime
from pydantic import BaseModel, ConfigDict


class PydanticBaseModel(BaseModel):
    pass


class BaseModel(PydanticBaseModel):
    model_config = ConfigDict(from_attributes=True)

    id: int
    created_at: datetime
    updated_at: datetime