db model and base data