CharCorporateContact   A
last analyzed

Complexity

Total Complexity 8

Size/Duplication

Total Lines 109
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 8
c 1
b 0
f 0
lcom 0
cbo 0
dl 0
loc 109
rs 10

8 Methods

Rating   Name   Duplication   Size   Complexity  
A getId() 0 4 1
A getOwnerId() 0 4 1
A getContactId() 0 4 1
A getContactName() 0 4 1
A getStanding() 0 4 1
A __construct() 0 5 1
A setContactName() 0 6 1
A setStanding() 0 6 1
1
<?php
2
namespace Tarioch\EveapiFetcherBundle\Entity;
3
4
use Doctrine\ORM\Mapping as ORM;
5
6
/**
7
 * @ORM\Entity
8
 * @ORM\Table(name="charCorporateContact")
9
 */
10
class CharCorporateContact
11
{
12
    /**
13
     * @ORM\Id @ORM\GeneratedValue @ORM\Column(name="ID", type="bigint", options={"unsigned"=true})
14
     */
15
    private $id;
16
17
    /**
18
     * @ORM\Column(name="ownerID", type="bigint", options={"unsigned"=true})
19
     */
20
    private $ownerId;
21
22
    /**
23
     * @ORM\Column(name="contactID", type="bigint", options={"unsigned"=true})
24
     */
25
    private $contactId;
26
27
    /**
28
     * @ORM\Column(name="contactName", type="string")
29
     */
30
    private $contactName;
31
32
    /**
33
     * @ORM\Column(name="standing", type="smallint")
34
     */
35
    private $standing;
36
37
    public function __construct($ownerId, $contactId)
38
    {
39
        $this->ownerId = $ownerId;
40
        $this->contactId = $contactId;
41
    }
42
43
    /**
44
     * Get id
45
     *
46
     * @return integer
47
     */
48
    public function getId()
49
    {
50
        return $this->id;
51
    }
52
53
    /**
54
     * Get ownerId
55
     *
56
     * @return integer
57
     */
58
    public function getOwnerId()
59
    {
60
        return $this->ownerId;
61
    }
62
63
    /**
64
     * Get contactId
65
     *
66
     * @return integer
67
     */
68
    public function getContactId()
69
    {
70
        return $this->contactId;
71
    }
72
73
    /**
74
     * Set contactName
75
     *
76
     * @param string $contactName
77
     * @return CharCorporateContact
78
     */
79
    public function setContactName($contactName)
80
    {
81
        $this->contactName = $contactName;
82
83
        return $this;
84
    }
85
86
    /**
87
     * Get contactName
88
     *
89
     * @return string
90
     */
91
    public function getContactName()
92
    {
93
        return $this->contactName;
94
    }
95
96
    /**
97
     * Set standing
98
     *
99
     * @param integer $standing
100
     * @return CharCorporateContact
101
     */
102
    public function setStanding($standing)
103
    {
104
        $this->standing = $standing;
105
106
        return $this;
107
    }
108
109
    /**
110
     * Get standing
111
     *
112
     * @return integer
113
     */
114
    public function getStanding()
115
    {
116
        return $this->standing;
117
    }
118
}
119