SalesPosEquipmentApiModel   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 26
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 0
Metric Value
wmc 1
lcom 0
cbo 1
dl 0
loc 26
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A getEnumMap() 0 6 1
1
<?php
2
3
namespace Fousky\Component\iDoklad\Model\SalesPosEquipment;
4
5
use Fousky\Component\iDoklad\LOV\SalesPosEquipmentTypeEnum;
6
use Fousky\Component\iDoklad\Model\iDokladAbstractModel;
7
8
/**
9
 * @method null|int getCashRegisterId()
10
 * @method null|string getDesignation()
11
 * @method null|int getId()
12
 * @method null|bool getIsRegisteredEet()
13
 * @method null|string getName()
14
 * @method null|int getSalesOfficeId()
15
 * @method null|SalesPosEquipmentTypeEnum getSalesPosEquipmentType()
16
 *
17
 * @author Lukáš Brzák <[email protected]>
18
 */
19
class SalesPosEquipmentApiModel extends iDokladAbstractModel
20
{
21
    public $CashRegisterId;
22
23
    public $Designation;
24
25
    public $Id;
26
27
    public $IsRegisteredEet;
28
29
    public $Name;
30
31
    public $SalesOfficeId;
32
33
    public $SalesPosEquipmentType;
34
35
    /**
36
     * @return array
37
     */
38
    public static function getEnumMap(): array
39
    {
40
        return [
41
            'SalesPosEquipmentType' => SalesPosEquipmentTypeEnum::class,
42
        ];
43
    }
44
}
45