您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

63 行
1.6KB

  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. interface UnitInterface
  11. {
  12. public function getCreatedBy(): ?UserInterface;
  13. public function setCreatedBy(?UserInterface $createdBy);
  14. public function getUpdatedBy(): ?UserInterface;
  15. public function setUpdatedBy(?UserInterface $updatedBy);
  16. public function getDevAlias(): ?string;
  17. public function setDevAlias(?string $devAlias);
  18. public function getCreatedAt(): ?\DateTimeInterface;
  19. public function setCreatedAt(\DateTimeInterface $createdAt);
  20. public function getUpdatedAt(): ?\DateTimeInterface;
  21. public function setUpdatedAt(\DateTimeInterface $updatedAt);
  22. public function getUnitAmountChoices(): array;
  23. public function __toString();
  24. public function getUnit(): ?string;
  25. public function setUnit(string $unit): UnitModel;
  26. public function getWording(): ?string;
  27. public function setWording(string $wording): UnitModel;
  28. public function getWordingUnit(): ?string;
  29. public function setWordingUnit(string $wordingUnit): UnitModel;
  30. public function getWordingShort(): ?string;
  31. public function setWordingShort(string $wordingShort): UnitModel;
  32. public function getCoefficient(): ?int;
  33. public function setCoefficient(int $coefficient): UnitModel;
  34. public function getUnitReference(): ?self;
  35. public function setUnitReference(?UnitModel $unitReference);
  36. }