ClientTrait.php 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132
  1. <?php
  2. namespace StatsBundle\Traits;
  3. /**
  4. * Trait ClientTrait
  5. *
  6. * @package StatsBundle\Traits
  7. */
  8. trait ClientTrait
  9. {
  10. /**
  11. * @var integer
  12. *
  13. * @ORM\Column(type="integer", nullable=true)
  14. */
  15. protected $clientId;
  16. /**
  17. * @var string
  18. *
  19. * @ORM\Column(type="string", length=100, nullable=true)
  20. */
  21. protected $clientExternalId;
  22. /**
  23. * @var string
  24. *
  25. * @ORM\Column(type="string", length=100, nullable=true)
  26. */
  27. protected $clientName;
  28. /**
  29. * @var string
  30. *
  31. * @ORM\Column(type="string", length=100, nullable=true)
  32. */
  33. protected $clientAddress;
  34. /**
  35. * Set clientId
  36. *
  37. * @param integer $clientId
  38. *
  39. */
  40. public function setClientId($clientId)
  41. {
  42. $this->clientId = $clientId;
  43. return $this;
  44. }
  45. /**
  46. * Get clientId
  47. *
  48. * @return integer
  49. */
  50. public function getClientId()
  51. {
  52. return $this->clientId;
  53. }
  54. /**
  55. * Set clientExternalId
  56. *
  57. * @param string $clientExternalId
  58. *
  59. */
  60. public function setClientExternalId($clientExternalId)
  61. {
  62. $this->clientExternalId = $clientExternalId;
  63. return $this;
  64. }
  65. /**
  66. * Get clientExternalId
  67. *
  68. * @return string
  69. */
  70. public function getClientExternalId()
  71. {
  72. return $this->clientExternalId;
  73. }
  74. /**
  75. * Set clientName
  76. *
  77. * @param string $clientName
  78. *
  79. */
  80. public function setClientName($clientName)
  81. {
  82. $this->clientName = $clientName;
  83. return $this;
  84. }
  85. /**
  86. * Get clienName
  87. *
  88. * @return string
  89. */
  90. public function getClientName()
  91. {
  92. return $this->clientName;
  93. }
  94. /**
  95. * Set clientAddress
  96. *
  97. * @param string $clientAddress
  98. *
  99. */
  100. public function setClientAddress($clientAddress)
  101. {
  102. $this->clientAddress = $clientAddress;
  103. return $this;
  104. }
  105. /**
  106. * Get clientAddress
  107. *
  108. * @return string
  109. */
  110. public function getClientAddress()
  111. {
  112. return $this->clientAddress;
  113. }
  114. }