EntityCBlogRelUser.php 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111
  1. <?php
  2. use Doctrine\ORM\Mapping as ORM;
  3. /**
  4. * EntityCBlogRelUser
  5. *
  6. * @Table(name="c_blog_rel_user")
  7. * @Entity
  8. */
  9. class EntityCBlogRelUser
  10. {
  11. /**
  12. * @var integer
  13. *
  14. * @Column(name="c_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
  15. * @Id
  16. * @GeneratedValue(strategy="NONE")
  17. */
  18. private $cId;
  19. /**
  20. * @var integer
  21. *
  22. * @Column(name="blog_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
  23. * @Id
  24. * @GeneratedValue(strategy="NONE")
  25. */
  26. private $blogId;
  27. /**
  28. * @var integer
  29. *
  30. * @Column(name="user_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
  31. * @Id
  32. * @GeneratedValue(strategy="NONE")
  33. */
  34. private $userId;
  35. /**
  36. * Set cId
  37. *
  38. * @param integer $cId
  39. * @return EntityCBlogRelUser
  40. */
  41. public function setCId($cId)
  42. {
  43. $this->cId = $cId;
  44. return $this;
  45. }
  46. /**
  47. * Get cId
  48. *
  49. * @return integer
  50. */
  51. public function getCId()
  52. {
  53. return $this->cId;
  54. }
  55. /**
  56. * Set blogId
  57. *
  58. * @param integer $blogId
  59. * @return EntityCBlogRelUser
  60. */
  61. public function setBlogId($blogId)
  62. {
  63. $this->blogId = $blogId;
  64. return $this;
  65. }
  66. /**
  67. * Get blogId
  68. *
  69. * @return integer
  70. */
  71. public function getBlogId()
  72. {
  73. return $this->blogId;
  74. }
  75. /**
  76. * Set userId
  77. *
  78. * @param integer $userId
  79. * @return EntityCBlogRelUser
  80. */
  81. public function setUserId($userId)
  82. {
  83. $this->userId = $userId;
  84. return $this;
  85. }
  86. /**
  87. * Get userId
  88. *
  89. * @return integer
  90. */
  91. public function getUserId()
  92. {
  93. return $this->userId;
  94. }
  95. }