[+TASK] added doctrine entity and repository for devices