| 1 | <?php |
||
| 8 | trait QueryTrait |
||
| 9 | { |
||
| 10 | /** |
||
| 11 | * @var string |
||
| 12 | * |
||
| 13 | * @ORM\Column(name="query", type="text", nullable=true) |
||
| 14 | */ |
||
| 15 | protected $query; |
||
| 16 | |||
| 17 | /** |
||
| 18 | * @var string |
||
| 19 | * |
||
| 20 | * @ORM\Column(name="orderBy", type="text", nullable=true) |
||
| 21 | */ |
||
| 22 | protected $orderBy; |
||
| 23 | |||
| 24 | /** |
||
| 25 | * Auto list mode: businessentity type. |
||
| 26 | * |
||
| 27 | * @var string |
||
| 28 | * @ORM\Column(name="business_entity_id", type="string", nullable=true) |
||
| 29 | */ |
||
| 30 | protected $businessEntityId; |
||
| 31 | |||
| 32 | /** |
||
| 33 | * Get query. |
||
| 34 | * |
||
| 35 | * @return string |
||
| 36 | */ |
||
| 37 | public function getQuery() |
||
| 41 | |||
| 42 | /** |
||
| 43 | * Set query. |
||
| 44 | * |
||
| 45 | * @param string $query |
||
| 46 | */ |
||
| 47 | public function setQuery($query) |
||
| 51 | |||
| 52 | /** |
||
| 53 | * Get orderBy. |
||
| 54 | * |
||
| 55 | * @return string |
||
| 56 | */ |
||
| 57 | public function getOrderBy() |
||
| 61 | |||
| 62 | /** |
||
| 63 | * Set orderBy. |
||
| 64 | * |
||
| 65 | * @param string $orderBy |
||
| 66 | */ |
||
| 67 | public function setOrderBy($orderBy) |
||
| 71 | |||
| 72 | /** |
||
| 73 | * Get businessEntityId. |
||
| 74 | * |
||
| 75 | * @return int |
||
| 76 | */ |
||
| 77 | public function getBusinessEntityId() |
||
| 81 | |||
| 82 | /** |
||
| 83 | * Set businessEntityId. |
||
| 84 | * |
||
| 85 | * @param string $businessEntityId The business entity name |
||
| 86 | */ |
||
| 87 | public function setBusinessEntityId($businessEntityId) |
||
| 91 | } |
||
| 92 |