basic database entities