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

102 行
1.9KB

  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. }