| Conditions | 1 | 
| Paths | 1 | 
| Total Lines | 25 | 
| Code Lines | 17 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Changes | 0 | ||
| 1 | <?php  | 
            ||
| 14 | protected function attributesMap()  | 
            ||
| 15 |     { | 
            ||
| 16 | return [  | 
            ||
| 17 | 'id' => 'tr.id',  | 
            ||
| 18 | 'plan' => [  | 
            ||
| 19 | 'id' => 'tr.tariff_id',  | 
            ||
| 20 | ],  | 
            ||
| 21 | 'target' => [  | 
            ||
| 22 | 'id' => 'tr.object_id',  | 
            ||
| 23 | 'type' => 'oc.name',  | 
            ||
| 24 | ],  | 
            ||
| 25 | 'type' => [  | 
            ||
| 26 | 'name' => 'rt.name',  | 
            ||
| 27 | ],  | 
            ||
| 28 | 'price' => [  | 
            ||
| 29 | 'currency' => 'cu.name',  | 
            ||
| 30 | 'amount' => 'tr.price',  | 
            ||
| 31 | ],  | 
            ||
| 32 | 'quantity' => [  | 
            ||
| 33 | 'unit' => 'tu.name',  | 
            ||
| 34 | 'quantity' => 'tr.quantity',  | 
            ||
| 35 | ],  | 
            ||
| 36 | 'data' => 'tr.data',  | 
            ||
| 37 | ];  | 
            ||
| 38 | }  | 
            ||
| 39 | |||
| 52 |