basic dao structure, db model