models to get_records view