from pydantic import BaseModel


class CreateReceiveDataDto(BaseModel):
    plant_id: int | None
    sensormac: str | None
    interrupt: str | None
    temperature: float | None
    indoor_humidity: float | None
    soil_humidity: float | None
    illuminance: float | None


class FailureReceiveDataDto(BaseModel):
    sensormac: str | None
    receive_data: str | None
    reason: str | None
    created_date: str | None
