Defining Custom Intermediate Table Models