from pydantic import BaseModel, ConfigDict
from typing import Optional
from datetime import datetime

class ImageBase(BaseModel):
    
    imageId: Optional[int] = None 
    localPath: Optional[str] = None
    type : Optional[str] = None
    result : Optional[str] = None
    createTime : Optional[datetime] = None
    updateTime : Optional[datetime] = None
    

    model_config = ConfigDict(from_attributes=True)