EntityTrackCCountries.php 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124
  1. <?php
  2. use Doctrine\ORM\Mapping as ORM;
  3. /**
  4. * EntityTrackCCountries
  5. *
  6. * @Table(name="track_c_countries")
  7. * @Entity
  8. */
  9. class EntityTrackCCountries
  10. {
  11. /**
  12. * @var integer
  13. *
  14. * @Column(name="id", type="integer", precision=0, scale=0, nullable=false, unique=false)
  15. * @Id
  16. * @GeneratedValue(strategy="IDENTITY")
  17. */
  18. private $id;
  19. /**
  20. * @var string
  21. *
  22. * @Column(name="code", type="string", length=40, precision=0, scale=0, nullable=false, unique=false)
  23. */
  24. private $code;
  25. /**
  26. * @var string
  27. *
  28. * @Column(name="country", type="string", length=50, precision=0, scale=0, nullable=false, unique=false)
  29. */
  30. private $country;
  31. /**
  32. * @var integer
  33. *
  34. * @Column(name="counter", type="integer", precision=0, scale=0, nullable=false, unique=false)
  35. */
  36. private $counter;
  37. /**
  38. * Get id
  39. *
  40. * @return integer
  41. */
  42. public function getId()
  43. {
  44. return $this->id;
  45. }
  46. /**
  47. * Set code
  48. *
  49. * @param string $code
  50. * @return EntityTrackCCountries
  51. */
  52. public function setCode($code)
  53. {
  54. $this->code = $code;
  55. return $this;
  56. }
  57. /**
  58. * Get code
  59. *
  60. * @return string
  61. */
  62. public function getCode()
  63. {
  64. return $this->code;
  65. }
  66. /**
  67. * Set country
  68. *
  69. * @param string $country
  70. * @return EntityTrackCCountries
  71. */
  72. public function setCountry($country)
  73. {
  74. $this->country = $country;
  75. return $this;
  76. }
  77. /**
  78. * Get country
  79. *
  80. * @return string
  81. */
  82. public function getCountry()
  83. {
  84. return $this->country;
  85. }
  86. /**
  87. * Set counter
  88. *
  89. * @param integer $counter
  90. * @return EntityTrackCCountries
  91. */
  92. public function setCounter($counter)
  93. {
  94. $this->counter = $counter;
  95. return $this;
  96. }
  97. /**
  98. * Get counter
  99. *
  100. * @return integer
  101. */
  102. public function getCounter()
  103. {
  104. return $this->counter;
  105. }
  106. }