from datetime import datetime
from pydantic import BaseModel

class PointTransactionResponse(BaseModel):
    transaction_type: str
    amount: int
    description: str = None
    created_at: datetime

    class Config:
        orm_mode = True
