I have one design issue and can't seem to find a good answer by my own. I am required to build application with some specific features which doesn't really matter because I implemented most of its business logic and behaviour. My problem is that at some point, this applications needs to read some data from the database and made a decision upon that data what it needs to do next (it is not nothing special just some checking and so on). The real problem is that I don't have the actual database schema and think that it would be a waste of time if I would go on and create my own model based on some json and classes I have. The real deal is that I would like to somehow simulate communication with database with some layer, but at the same time not using hardcoded list of data. Is there some good way to achieve it with good cohesion so that someone could later plug database to my app.
Thanks in advance!