public static OfficeObject create(Integer id, String name, int officeObjectType){
        switch(officeObjectType){
            case OFFICE_OBJECT_LAPTOP:
                ReportDAO.createOfficeObject(OFFICE_OBJECT_LAPTOP, id, name);
                return new Laptop(id, name);
            case OFFICE_OBJECT_MONITOR:
                ReportDAO.createOfficeObject(OFFICE_OBJECT_MONITOR, id, name);
                return new Monitor(id, name);
            case OFFICE_OBJECT_ROUTER:
                ReportDAO.createOfficeObject(OFFICE_OBJECT_ROUTER, id, name);
                return new Router(id, name);
            case OFFICE_OBJECT_PC:
                ReportDAO.createOfficeObject(OFFICE_OBJECT_PC, id, name);
                return new PC(id, name);
            case OFFICE_OBJECT_PRINTER:
                ReportDAO.createOfficeObject(OFFICE_OBJECT_PRINTER, id, name);
                return new Printer(id, name);
            case OFFICE_OBJECT_FURNITURE:
                ReportDAO.createOfficeObject(OFFICE_OBJECT_FURNITURE, id, name);
                return new Table(id, name);
        }
        return null;
    }