Models for the db designed