src/Entity/Idempiere/CDoctype.php line 12

Open in your IDE?
  1. <?php
  2. namespace App\Entity\Idempiere;
  3. use App\Repository\Idempiere\CDoctypeRepository;
  4. use Doctrine\ORM\Mapping as ORM;
  5. /**
  6. * @ORM\Entity(repositoryClass=CDoctypeRepository::class)
  7. * @ORM\Table(name="C_DocType")
  8. */
  9. class CDoctype
  10. {
  11. /**
  12. * @ORM\Id
  13. * @ORM\Column(type="integer")
  14. */
  15. private $c_doctype_id;
  16. /**
  17. * @ORM\Column(type="integer")
  18. */
  19. private $ad_client_id;
  20. /**
  21. * @ORM\Column(type="integer")
  22. */
  23. private $ad_org_id;
  24. /**
  25. * @ORM\Column(type="string", length=255)
  26. */
  27. private $name;
  28. /**
  29. * @ORM\Column(type="string", length=1)
  30. */
  31. private $isactive;
  32. /**
  33. * @ORM\Column(type="string", length=1)
  34. */
  35. private $isdefault;
  36. /**
  37. * @ORM\Column(type="string", length=1)
  38. */
  39. private $issotrx;
  40. /**
  41. * @ORM\Column(type="string", length=10)
  42. */
  43. private $docbasetype;
  44. /**
  45. * @ORM\Column(type="string", length=10)
  46. */
  47. private $docsubtypeso;
  48. /**
  49. * @ORM\Column(type="string", length=1)
  50. */
  51. private $isdocnocontrolled;
  52. /**
  53. * @ORM\Column(type="integer")
  54. */
  55. private $docnosequence_id;
  56. /**
  57. * @ORM\ManyToOne(targetEntity=AdSequence::class, cascade={"persist"})
  58. * @ORM\JoinColumn(name="docnosequence_id", referencedColumnName="ad_sequence_id", nullable=false)
  59. */
  60. private $ad_sequence;
  61. /**
  62. * @ORM\ManyToOne(targetEntity=GlCategory::class)
  63. * @ORM\JoinColumn(referencedColumnName="gl_category_id", nullable=false)
  64. */
  65. private $gl_category;
  66. /**
  67. * @ORM\Column(type="integer")
  68. */
  69. private $gl_category_id;
  70. public function getId(): ?int
  71. {
  72. return $this->getCDoctypeId();
  73. }
  74. public function getCDoctypeId(): ?int
  75. {
  76. return $this->c_doctype_id;
  77. }
  78. public function setCDoctypeId(int $c_doctype_id): self
  79. {
  80. $this->c_doctype_id = $c_doctype_id;
  81. return $this;
  82. }
  83. public function getAdClientId(): ?int
  84. {
  85. return $this->ad_client_id;
  86. }
  87. public function setAdClientId(int $ad_client_id): self
  88. {
  89. $this->ad_client_id = $ad_client_id;
  90. return $this;
  91. }
  92. public function getAdOrgId(): ?int
  93. {
  94. return $this->ad_org_id;
  95. }
  96. public function setAdOrgId(int $ad_org_id): self
  97. {
  98. $this->ad_org_id = $ad_org_id;
  99. return $this;
  100. }
  101. public function getName(): ?string
  102. {
  103. return $this->name;
  104. }
  105. public function setName(string $name): self
  106. {
  107. $this->name = $name;
  108. return $this;
  109. }
  110. public function getIsactive(): ?string
  111. {
  112. return $this->isactive;
  113. }
  114. public function setIsactive(string $isactive): self
  115. {
  116. $this->isactive = $isactive;
  117. return $this;
  118. }
  119. public function getIsdefault(): ?string
  120. {
  121. return $this->isdefault;
  122. }
  123. public function setIsdefault(string $isdefault): self
  124. {
  125. $this->isdefault = $isdefault;
  126. return $this;
  127. }
  128. public function getIssotrx(): ?string
  129. {
  130. return $this->issotrx;
  131. }
  132. public function setIssotrx(string $issotrx): self
  133. {
  134. $this->issotrx = $issotrx;
  135. return $this;
  136. }
  137. public function getDocbasetype(): ?string
  138. {
  139. return $this->docbasetype;
  140. }
  141. public function setDocbasetype(string $docbasetype): self
  142. {
  143. $this->docbasetype = $docbasetype;
  144. return $this;
  145. }
  146. public function getDocsubtypeso(): ?string
  147. {
  148. return $this->docsubtypeso;
  149. }
  150. public function setDocsubtypeso(string $docsubtypeso): self
  151. {
  152. $this->docsubtypeso = $docsubtypeso;
  153. return $this;
  154. }
  155. public function getIsdocnocontrolled(): ?string
  156. {
  157. return $this->isdocnocontrolled;
  158. }
  159. public function setIsdocnocontrolled(string $isdocnocontrolled): self
  160. {
  161. $this->isdocnocontrolled = $isdocnocontrolled;
  162. return $this;
  163. }
  164. public function getDocnosequenceId(): ?int
  165. {
  166. return $this->docnosequence_id;
  167. }
  168. public function setDocnosequenceId(int $docnosequence_id): self
  169. {
  170. $this->docnosequence_id = $docnosequence_id;
  171. return $this;
  172. }
  173. public function getAdSequence(): ?AdSequence
  174. {
  175. return $this->ad_sequence;
  176. }
  177. public function setAdSequence(?AdSequence $ad_sequence): self
  178. {
  179. $this->ad_sequence = $ad_sequence;
  180. return $this;
  181. }
  182. public function getGlCategory(): ?GlCategory
  183. {
  184. return $this->gl_category;
  185. }
  186. public function setGlCategory(?GlCategory $gl_category): self
  187. {
  188. $this->gl_category = $gl_category;
  189. return $this;
  190. }
  191. public function getGlCategoryId(): ?int
  192. {
  193. return $this->gl_category_id;
  194. }
  195. public function setGlCategoryId(int $gl_category_id): self
  196. {
  197. $this->gl_category_id = $gl_category_id;
  198. return $this;
  199. }
  200. }