src/Entity/Idempiere/AdSequence.php line 12

Open in your IDE?
  1. <?php
  2. namespace App\Entity\Idempiere;
  3. use App\Repository\Idempiere\AdSequenceRepository;
  4. use Doctrine\ORM\Mapping as ORM;
  5. /**
  6. * @ORM\Entity(repositoryClass=AdSequenceRepository::class)
  7. * @ORM\Table(name="ad_sequence")
  8. */
  9. class AdSequence
  10. {
  11. /**
  12. * @ORM\Id
  13. * @ORM\Column(type="integer")
  14. */
  15. private $ad_sequence_id;
  16. /**
  17. * @ORM\Column(type="integer")
  18. */
  19. private $ad_org_id;
  20. /**
  21. * @ORM\Column(type="string", length=1)
  22. */
  23. private $isactive;
  24. /**
  25. * @ORM\Column(type="string", length=100)
  26. */
  27. private $name;
  28. /**
  29. * @ORM\Column(type="integer")
  30. */
  31. private $currentnext;
  32. /**
  33. * @ORM\Column(type="integer")
  34. */
  35. private $incrementno;
  36. /**
  37. * @ORM\Column(type="string", length=1)
  38. */
  39. private $isorglevelsequence;
  40. /**
  41. * @ORM\Column(type="string", length=100)
  42. */
  43. private $prefix;
  44. public function getId(): ?int
  45. {
  46. return $this->getAdSequenceId();
  47. }
  48. public function getAdSequenceId(): ?int
  49. {
  50. return $this->ad_sequence_id;
  51. }
  52. public function setAdSequenceId(int $ad_sequence_id): self
  53. {
  54. $this->ad_sequence_id = $ad_sequence_id;
  55. return $this;
  56. }
  57. public function getAdOrgId(): ?int
  58. {
  59. return $this->ad_org_id;
  60. }
  61. public function setAdOrgId(int $ad_org_id): self
  62. {
  63. $this->ad_org_id = $ad_org_id;
  64. return $this;
  65. }
  66. public function getIsactive(): ?string
  67. {
  68. return $this->isactive;
  69. }
  70. public function setIsactive(string $isactive): self
  71. {
  72. $this->isactive = $isactive;
  73. return $this;
  74. }
  75. public function getName(): ?string
  76. {
  77. return $this->name;
  78. }
  79. public function setName(string $name): self
  80. {
  81. $this->name = $name;
  82. return $this;
  83. }
  84. public function getCurrentnext(): ?int
  85. {
  86. return $this->currentnext;
  87. }
  88. public function setCurrentnext(int $currentnext): self
  89. {
  90. $this->currentnext = $currentnext;
  91. return $this;
  92. }
  93. public function getIncrementno(): ?int
  94. {
  95. return $this->incrementno;
  96. }
  97. public function setIncrementno(int $incrementno): self
  98. {
  99. $this->incrementno = $incrementno;
  100. return $this;
  101. }
  102. public function getIsorglevelsequence(): ?string
  103. {
  104. return ( $this->isorglevelsequence === 'Y' );
  105. }
  106. public function setIsorglevelsequence(string $isorglevelsequence): self
  107. {
  108. $this->isorglevelsequence = $isorglevelsequence;
  109. return $this;
  110. }
  111. public function getPrefix(): ?string
  112. {
  113. return $this->prefix;
  114. }
  115. public function setPrefix(string $prefix): self
  116. {
  117. $this->prefix = $prefix;
  118. return $this;
  119. }
  120. }