You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

UnitInterface.php 1.6KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. <?php
  2. /**
  3. * @author La clic ! <contact@laclic.fr>
  4. */
  5. namespace Lc\CaracoleBundle\Model\Config;
  6. use Lc\SovBundle\Doctrine\Extension\BlameableTrait;
  7. use Lc\SovBundle\Doctrine\Extension\DevAliasTrait;
  8. use Lc\SovBundle\Doctrine\Extension\TimestampableTrait;
  9. use Lc\SovBundle\Model\User\UserInterface;
  10. /**
  11. * @ORM\MappedSuperclass
  12. */
  13. interface UnitInterface
  14. {
  15. public function getCreatedBy(): ?UserInterface;
  16. public function setCreatedBy(?UserInterface $createdBy);
  17. public function getUpdatedBy(): ?UserInterface;
  18. public function setUpdatedBy(?UserInterface $updatedBy);
  19. public function getDevAlias(): ?string;
  20. public function setDevAlias(?string $devAlias);
  21. public function getCreatedAt(): ?\DateTimeInterface;
  22. public function setCreatedAt(\DateTimeInterface $createdAt);
  23. public function getUpdatedAt(): ?\DateTimeInterface;
  24. public function setUpdatedAt(\DateTimeInterface $updatedAt);
  25. public function getUnitAmountChoices(): array;
  26. public function __toString();
  27. public function getUnit(): ?string;
  28. public function setUnit(string $unit): UnitModel;
  29. public function getWording(): ?string;
  30. public function setWording(string $wording): UnitModel;
  31. public function getWordingUnit(): ?string;
  32. public function setWordingUnit(string $wordingUnit): UnitModel;
  33. public function getWordingShort(): ?string;
  34. public function setWordingShort(string $wordingShort): UnitModel;
  35. public function getCoefficient(): ?int;
  36. public function setCoefficient(int $coefficient): UnitModel;
  37. public function getUnitReference(): ?self;
  38. public function setUnitReference(?UnitModel $unitReference);
  39. }