from typing import Optional
from pydantic import BaseModel, ConfigDict
from src.models import DefultBase
from uuid import UUID

class RBDMasterDataSchema(DefultBase):
    id: UUID
    name: str
    value_float: Optional[float] = None
    value_string: Optional[str] = None
    month: Optional[str] = None
    year: Optional[str] = None

class RBDMasterDataUpdate(DefultBase):
    value_float: Optional[float] = None
    value_string: Optional[str] = None
    month: Optional[str] = None
    year: Optional[str] = None
