| Total Complexity | 9 |
| Total Lines | 71 |
| Duplicated Lines | 0 % |
| Coverage | 0% |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 9 | #[ORM\Entity(repositoryClass: CurrencyRepository::class)] |
||
| 10 | class Currency |
||
| 11 | { |
||
| 12 | #[ORM\Id] |
||
| 13 | #[ORM\GeneratedValue] |
||
| 14 | #[ORM\Column] |
||
| 15 | private ?int $id = null; |
||
| 16 | |||
| 17 | #[ORM\Column(length: 5)] |
||
| 18 | private ?string $alpabethicCode = null; |
||
| 19 | |||
| 20 | #[ORM\Column(type: Types::SMALLINT)] |
||
| 21 | private ?int $decimalDigits = null; |
||
| 22 | |||
| 23 | #[ORM\Column(length: 5)] |
||
| 24 | private ?string $numericCode = null; |
||
| 25 | |||
| 26 | #[ORM\Column(length: 255)] |
||
| 27 | private ?string $entity = null; |
||
| 28 | |||
| 29 | public function getId(): ?int |
||
| 30 | { |
||
| 31 | return $this->id; |
||
| 32 | } |
||
| 33 | |||
| 34 | public function getAlpabethicCode(): ?string |
||
| 35 | { |
||
| 36 | return $this->alpabethicCode; |
||
| 37 | } |
||
| 38 | |||
| 39 | public function setAlpabethicCode(string $alpabethicCode): static |
||
| 40 | { |
||
| 41 | $this->alpabethicCode = $alpabethicCode; |
||
| 42 | |||
| 43 | return $this; |
||
| 44 | } |
||
| 45 | |||
| 46 | public function getDecimalDigits(): ?int |
||
| 47 | { |
||
| 48 | return $this->decimalDigits; |
||
| 49 | } |
||
| 50 | |||
| 51 | public function setDecimalDigits(int $decimalDigits): static |
||
| 52 | { |
||
| 53 | $this->decimalDigits = $decimalDigits; |
||
| 54 | |||
| 55 | return $this; |
||
| 56 | } |
||
| 57 | |||
| 58 | public function getNumericCode(): ?string |
||
| 59 | { |
||
| 60 | return $this->numericCode; |
||
| 61 | } |
||
| 62 | |||
| 63 | public function setNumericCode(string $numericCode): static |
||
| 64 | { |
||
| 65 | $this->numericCode = $numericCode; |
||
| 66 | |||
| 67 | return $this; |
||
| 68 | } |
||
| 69 | |||
| 70 | public function getEntity(): ?string |
||
| 73 | } |
||
| 74 | |||
| 75 | public function setEntity(string $entity): static |
||
| 76 | { |
||
| 77 | $this->entity = $entity; |
||
| 80 | } |
||
| 81 | } |
||
| 82 |