| Total Complexity | 8 |
| Total Lines | 70 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 13 | class Currency |
||
| 14 | { |
||
| 15 | use EntityIdTrait; |
||
| 16 | |||
| 17 | /** |
||
| 18 | * @ORM\Column(type="string", length=32) |
||
| 19 | */ |
||
| 20 | private ?string $currency_title; |
||
| 21 | |||
| 22 | /** |
||
| 23 | * @ORM\Column(type="string", length=3) |
||
| 24 | */ |
||
| 25 | private ?string $code; |
||
| 26 | |||
| 27 | /** |
||
| 28 | * @ORM\Column(type="string", length=12, nullable=true) |
||
| 29 | */ |
||
| 30 | private ?string $symbol_left; |
||
| 31 | |||
| 32 | /** |
||
| 33 | * @ORM\Column(type="string", length=12, nullable=true) |
||
| 34 | */ |
||
| 35 | private ?string $symbol_right; |
||
| 36 | |||
| 37 | public function getCurrencyTitle(): ?string |
||
| 38 | { |
||
| 39 | return $this->currency_title; |
||
| 40 | } |
||
| 41 | |||
| 42 | public function setCurrencyTitle(string $currency_title): self |
||
| 43 | { |
||
| 44 | $this->currency_title = $currency_title; |
||
| 45 | |||
| 46 | return $this; |
||
| 47 | } |
||
| 48 | |||
| 49 | public function getCode(): ?string |
||
| 50 | { |
||
| 51 | return $this->code; |
||
| 52 | } |
||
| 53 | |||
| 54 | public function setCode(string $code): self |
||
| 59 | } |
||
| 60 | |||
| 61 | public function getSymbolLeft(): ?string |
||
| 62 | { |
||
| 63 | return $this->symbol_left; |
||
| 64 | } |
||
| 65 | |||
| 66 | public function setSymbolLeft(?string $symbol_left): self |
||
| 67 | { |
||
| 68 | $this->symbol_left = $symbol_left; |
||
| 69 | |||
| 70 | return $this; |
||
| 71 | } |
||
| 72 | |||
| 73 | public function getSymbolRight(): ?string |
||
| 76 | } |
||
| 77 | |||
| 78 | public function setSymbolRight(?string $symbol_right): self |
||
| 83 | } |
||
| 84 | } |
||
| 85 |