You are allowed to change
java files in db package. The other issues is that you are not supposed to change it too much, or if you decided to do that you have to defend your position about that (why they needed to be changed). For example, you have to choose between extending Data class and changing it.