set generic basedatabaseModel