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

CreditConfig.php 1.8KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  1. <?php
  2. namespace Lc\ShopBundle\Model;
  3. use Doctrine\ORM\Mapping as ORM;
  4. /**
  5. * @ORM\MappedSuperclass()
  6. */
  7. abstract class CreditConfig
  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 getActive(): ?bool
  30. {
  31. return $this->active;
  32. }
  33. public function setActive(bool $active): self
  34. {
  35. $this->active = $active;
  36. return $this;
  37. }
  38. public function getLimitAmount(): ?float
  39. {
  40. return $this->limitAmount;
  41. }
  42. public function setLimitAmount(?float $limitAmount): self
  43. {
  44. $this->limitAmount = $limitAmount;
  45. return $this;
  46. }
  47. public function getLimitReminder(): ?float
  48. {
  49. return $this->limitReminder;
  50. }
  51. public function setLimitReminder(?float $limitReminder): self
  52. {
  53. $this->limitReminder = $limitReminder;
  54. return $this;
  55. }
  56. public function getBehavior(): ?string
  57. {
  58. return $this->behavior;
  59. }
  60. public function setBehavior(?string $behavior): self
  61. {
  62. $this->behavior = $behavior;
  63. return $this;
  64. }
  65. public function getProcessOrderCheckedDefault(): ?bool
  66. {
  67. return $this->processOrderCheckedDefault;
  68. }
  69. public function setProcessOrderCheckedDefault(?bool $processOrderCheckedDefault): self
  70. {
  71. $this->processOrderCheckedDefault = $processOrderCheckedDefault;
  72. return $this;
  73. }
  74. }