Make query model for customers