cleanup Device entity add JPA annotations

* add DeviceSharing entity