Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.

CreditConfigModel.php 1.9KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101
  1. <?php
  2. namespace Lc\CaracoleBundle\Model\Credit;
  3. use Doctrine\ORM\Mapping as ORM;
  4. /**
  5. * @ORM\MappedSuperclass()
  6. */
  7. abstract class CreditConfigModel
  8. {
  9. /**
  10. * @ORM\Column(type="boolean")
  11. */
  12. protected $active;
  13. /**
  14. * @ORM\Column(type="float", nullable=true)
  15. */
  16. protected $limitAmount;
  17. /**
  18. * @ORM\Column(type="float", nullable=true)
  19. */
  20. protected $limitReminder;
  21. /**
  22. * @ORM\Column(type="string", length=31, nullable=true)
  23. */
  24. protected $behavior;
  25. /**
  26. * @ORM\Column(type="boolean", nullable=true)
  27. */
  28. protected $processOrderCheckedDefault;
  29. public function __toString()
  30. {
  31. return '';
  32. }
  33. public function getActive(): ?bool
  34. {
  35. return $this->active;
  36. }
  37. public function setActive(bool $active): self
  38. {
  39. $this->active = $active;
  40. return $this;
  41. }
  42. public function getLimitAmount(): ?float
  43. {
  44. return $this->limitAmount;
  45. }
  46. public function setLimitAmount(?float $limitAmount): self
  47. {
  48. $this->limitAmount = $limitAmount;
  49. return $this;
  50. }
  51. public function getLimitReminder(): ?float
  52. {
  53. return $this->limitReminder;
  54. }
  55. public function setLimitReminder(?float $limitReminder): self
  56. {
  57. $this->limitReminder = $limitReminder;
  58. return $this;
  59. }
  60. public function getBehavior(): ?string
  61. {
  62. return $this->behavior;
  63. }
  64. public function setBehavior(?string $behavior): self
  65. {
  66. $this->behavior = $behavior;
  67. return $this;
  68. }
  69. public function getProcessOrderCheckedDefault(): ?bool
  70. {
  71. return $this->processOrderCheckedDefault;
  72. }
  73. public function setProcessOrderCheckedDefault(?bool $processOrderCheckedDefault): self
  74. {
  75. $this->processOrderCheckedDefault = $processOrderCheckedDefault;
  76. return $this;
  77. }
  78. }