Make Entity properties ```protected``` as in docs

Entity properties are marked as ```protected``` to correctly reflect the
documentation.

See also owncloud/documentation@644f2eedac8e912c3019366b29ecdfbd9a15c5d9
Merge pull request #10666 from ogasser/appframework_db_tests

Make Entity properties ```protected``` as in docs