Adding sql for registration_views, entity class `RegistrationViewEntity` and service class `RegistrationViewService`