1 | <?php |
||
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() |
||
52 | |||
53 | /** |
||
54 | * Get ownerId |
||
55 | * |
||
56 | * @return integer |
||
57 | */ |
||
58 | public function getOwnerId() |
||
62 | |||
63 | /** |
||
64 | * Get contactId |
||
65 | * |
||
66 | * @return integer |
||
67 | */ |
||
68 | public function getContactId() |
||
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() |
||
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() |
||
118 | } |
||
119 |