| Total Complexity | 9 |
| Total Lines | 80 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 12 | class Currency |
||
| 13 | { |
||
| 14 | /** |
||
| 15 | * @ORM\Id() |
||
| 16 | * @ORM\GeneratedValue() |
||
| 17 | * @ORM\Column(type="integer") |
||
| 18 | */ |
||
| 19 | private $id; |
||
| 20 | |||
| 21 | /** |
||
| 22 | * @ORM\Column(type="string", length=32) |
||
| 23 | */ |
||
| 24 | private $currency_title; |
||
| 25 | |||
| 26 | /** |
||
| 27 | * @ORM\Column(type="string", length=3) |
||
| 28 | */ |
||
| 29 | private $code; |
||
| 30 | |||
| 31 | /** |
||
| 32 | * @ORM\Column(type="string", length=12, nullable=true) |
||
| 33 | */ |
||
| 34 | private $symbol_left; |
||
| 35 | |||
| 36 | /** |
||
| 37 | * @ORM\Column(type="string", length=12, nullable=true) |
||
| 38 | */ |
||
| 39 | private $symbol_right; |
||
| 40 | |||
| 41 | public function getId(): ?int |
||
| 42 | { |
||
| 43 | return $this->id; |
||
| 44 | } |
||
| 45 | |||
| 46 | public function getCurrencyTitle(): ?string |
||
| 47 | { |
||
| 48 | return $this->currency_title; |
||
| 49 | } |
||
| 50 | |||
| 51 | public function setCurrencyTitle(string $currency_title): self |
||
| 52 | { |
||
| 53 | $this->currency_title = $currency_title; |
||
| 54 | |||
| 55 | return $this; |
||
| 56 | } |
||
| 57 | |||
| 58 | public function getCode(): ?string |
||
| 59 | { |
||
| 60 | return $this->code; |
||
| 61 | } |
||
| 62 | |||
| 63 | public function setCode(string $code): self |
||
| 68 | } |
||
| 69 | |||
| 70 | public function getSymbolLeft(): ?string |
||
| 71 | { |
||
| 72 | return $this->symbol_left; |
||
| 73 | } |
||
| 74 | |||
| 75 | public function setSymbolLeft(?string $symbol_left): self |
||
| 76 | { |
||
| 77 | $this->symbol_left = $symbol_left; |
||
| 78 | |||
| 79 | return $this; |
||
| 80 | } |
||
| 81 | |||
| 82 | public function getSymbolRight(): ?string |
||
| 85 | } |
||
| 86 | |||
| 87 | public function setSymbolRight(?string $symbol_right): self |
||
| 92 | } |
||
| 93 | } |
||
| 94 |