OPtmization
This commit is contained in:
@@ -50,6 +50,13 @@ class LoanOrder extends Resource
|
||||
*/
|
||||
public static $title = 'unique_id';
|
||||
|
||||
/**
|
||||
* The relationships that should be eager loaded on index queries.
|
||||
*
|
||||
* @var array
|
||||
*/
|
||||
public static $with = ['branch'];
|
||||
|
||||
/**
|
||||
* The columns that should be searched.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user