| Total Complexity | 13 |
| Total Lines | 221 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 7 | final class DealModel extends AbstractModel |
||
| 8 | { |
||
| 9 | /** |
||
| 10 | * The account ID. |
||
| 11 | * |
||
| 12 | * @var integer |
||
| 13 | */ |
||
| 14 | protected $accountId; |
||
| 15 | |||
| 16 | /** |
||
| 17 | * The author ID. |
||
| 18 | * |
||
| 19 | * @var integer |
||
| 20 | */ |
||
| 21 | protected $authorId; |
||
| 22 | |||
| 23 | /** |
||
| 24 | * The category ID. |
||
| 25 | * |
||
| 26 | * @var integer |
||
| 27 | */ |
||
| 28 | protected $categoryId; |
||
| 29 | |||
| 30 | /** |
||
| 31 | * The party ID. |
||
| 32 | * |
||
| 33 | * @var integer |
||
| 34 | */ |
||
| 35 | protected $partyId; |
||
| 36 | |||
| 37 | /** |
||
| 38 | * The responsible party ID. |
||
| 39 | * |
||
| 40 | * @var integer |
||
| 41 | */ |
||
| 42 | protected $responsiblePartyId; |
||
| 43 | |||
| 44 | /** |
||
| 45 | * The background. |
||
| 46 | * |
||
| 47 | * @var string |
||
| 48 | */ |
||
| 49 | protected $background; |
||
| 50 | |||
| 51 | /** |
||
| 52 | * The currency. |
||
| 53 | * |
||
| 54 | * @var string |
||
| 55 | */ |
||
| 56 | protected $currency; |
||
| 57 | |||
| 58 | /** |
||
| 59 | * The duration. |
||
| 60 | * |
||
| 61 | * @var integer |
||
| 62 | */ |
||
| 63 | protected $duration; |
||
| 64 | |||
| 65 | /** |
||
| 66 | * The price. |
||
| 67 | * |
||
| 68 | * @var integer |
||
| 69 | */ |
||
| 70 | protected $price; |
||
| 71 | |||
| 72 | /** |
||
| 73 | * The price type. |
||
| 74 | * |
||
| 75 | * @var string |
||
| 76 | */ |
||
| 77 | protected $priceType; |
||
| 78 | |||
| 79 | /** |
||
| 80 | * The status. |
||
| 81 | * |
||
| 82 | * @var string |
||
| 83 | */ |
||
| 84 | protected $status; |
||
| 85 | |||
| 86 | /** |
||
| 87 | * The date on which the deal status was changed. |
||
| 88 | * |
||
| 89 | * @var DateTime |
||
| 90 | */ |
||
| 91 | protected $statusChangedOn; |
||
| 92 | |||
| 93 | /** |
||
| 94 | * The visibility. |
||
| 95 | * |
||
| 96 | * @var string |
||
| 97 | */ |
||
| 98 | protected $visibleTo; |
||
| 99 | |||
| 100 | /** |
||
| 101 | * Returns the accountId. |
||
| 102 | * |
||
| 103 | * @return int |
||
| 104 | */ |
||
| 105 | public function getAccountId(): int |
||
| 106 | { |
||
| 107 | return $this->accountId; |
||
| 108 | } |
||
| 109 | |||
| 110 | /** |
||
| 111 | * Returns the authorId. |
||
| 112 | * |
||
| 113 | * @return int |
||
| 114 | */ |
||
| 115 | public function getAuthorId(): int |
||
| 116 | { |
||
| 117 | return $this->authorId; |
||
| 118 | } |
||
| 119 | |||
| 120 | /** |
||
| 121 | * Returns the categoryId. |
||
| 122 | * |
||
| 123 | * @return int |
||
| 124 | */ |
||
| 125 | public function getCategoryId(): int |
||
| 126 | { |
||
| 127 | return $this->categoryId; |
||
| 128 | } |
||
| 129 | |||
| 130 | /** |
||
| 131 | * Returns the partyId. |
||
| 132 | * |
||
| 133 | * @return int |
||
| 134 | */ |
||
| 135 | public function getPartyId(): int |
||
| 136 | { |
||
| 137 | return $this->partyId; |
||
| 138 | } |
||
| 139 | |||
| 140 | /** |
||
| 141 | * Returns the responsiblePartyId. |
||
| 142 | * |
||
| 143 | * @return int |
||
| 144 | */ |
||
| 145 | public function getResponsiblePartyId(): int |
||
| 146 | { |
||
| 147 | return $this->responsiblePartyId; |
||
| 148 | } |
||
| 149 | |||
| 150 | /** |
||
| 151 | * Returns the background. |
||
| 152 | * |
||
| 153 | * @return string |
||
| 154 | */ |
||
| 155 | public function getBackground(): string |
||
| 156 | { |
||
| 157 | return $this->background; |
||
| 158 | } |
||
| 159 | |||
| 160 | /** |
||
| 161 | * Returns the currency. |
||
| 162 | * |
||
| 163 | * @return string |
||
| 164 | */ |
||
| 165 | public function getCurrency(): string |
||
| 166 | { |
||
| 167 | return $this->currency; |
||
| 168 | } |
||
| 169 | |||
| 170 | /** |
||
| 171 | * Returns the duration. |
||
| 172 | * |
||
| 173 | * @return int |
||
| 174 | */ |
||
| 175 | public function getDuration(): int |
||
| 176 | { |
||
| 177 | return $this->duration; |
||
| 178 | } |
||
| 179 | |||
| 180 | /** |
||
| 181 | * Returns the price. |
||
| 182 | * |
||
| 183 | * @return int |
||
| 184 | */ |
||
| 185 | public function getPrice(): int |
||
| 188 | } |
||
| 189 | |||
| 190 | /** |
||
| 191 | * Returns the priceType. |
||
| 192 | * |
||
| 193 | * @return string |
||
| 194 | */ |
||
| 195 | public function getPriceType(): string |
||
| 196 | { |
||
| 197 | return $this->priceType; |
||
| 198 | } |
||
| 199 | |||
| 200 | /** |
||
| 201 | * Returns the status. |
||
| 202 | * |
||
| 203 | * @return string |
||
| 204 | */ |
||
| 205 | public function getStatus(): string |
||
| 206 | { |
||
| 207 | return $this->status; |
||
| 208 | } |
||
| 209 | |||
| 210 | /** |
||
| 211 | * Returns the statusChangedOn. |
||
| 212 | * |
||
| 213 | * @return DateTime |
||
| 214 | */ |
||
| 215 | public function getStatusChangedOn(): DateTime |
||
| 218 | } |
||
| 219 | |||
| 220 | /** |
||
| 221 | * Returns the visibleTo. |
||
| 222 | * |
||
| 223 | * @return string |
||
| 224 | */ |
||
| 225 | public function getVisibleTo(): string |
||
| 228 | } |
||
| 229 | } |
||
| 230 |