separate ORM specifics from models