add Query entity & dao interface