public static function hydrate(stdClass $census)
    {
        $hydrated = new CensusEntity();

        if (isset($census->id)) {
            $hydrated->setId($census->id);
        }

        if (isset($census->scans)) {
            $hydrated->setScans($census->scans);
        }

        if (isset($census->issues)) {
            $hydrated->setIssues($census->issues);
        }

        if (isset($census->loc)) {
            $hydrated->setLoc($census->loc);
        }

        return $hydrated;
    }