EntityCUserinfoDef.php 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199
  1. <?php
  2. use Doctrine\ORM\Mapping as ORM;
  3. /**
  4. * EntityCUserinfoDef
  5. *
  6. * @Table(name="c_userinfo_def")
  7. * @Entity
  8. */
  9. class EntityCUserinfoDef
  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="id", type="integer", precision=0, scale=0, nullable=false, unique=false)
  23. * @Id
  24. * @GeneratedValue(strategy="NONE")
  25. */
  26. private $id;
  27. /**
  28. * @var string
  29. *
  30. * @Column(name="title", type="string", length=80, precision=0, scale=0, nullable=false, unique=false)
  31. */
  32. private $title;
  33. /**
  34. * @var string
  35. *
  36. * @Column(name="comment", type="text", precision=0, scale=0, nullable=true, unique=false)
  37. */
  38. private $comment;
  39. /**
  40. * @var boolean
  41. *
  42. * @Column(name="line_count", type="boolean", precision=0, scale=0, nullable=false, unique=false)
  43. */
  44. private $lineCount;
  45. /**
  46. * @var boolean
  47. *
  48. * @Column(name="rank", type="boolean", precision=0, scale=0, nullable=false, unique=false)
  49. */
  50. private $rank;
  51. /**
  52. * Set cId
  53. *
  54. * @param integer $cId
  55. * @return EntityCUserinfoDef
  56. */
  57. public function setCId($cId)
  58. {
  59. $this->cId = $cId;
  60. return $this;
  61. }
  62. /**
  63. * Get cId
  64. *
  65. * @return integer
  66. */
  67. public function getCId()
  68. {
  69. return $this->cId;
  70. }
  71. /**
  72. * Set id
  73. *
  74. * @param integer $id
  75. * @return EntityCUserinfoDef
  76. */
  77. public function setId($id)
  78. {
  79. $this->id = $id;
  80. return $this;
  81. }
  82. /**
  83. * Get id
  84. *
  85. * @return integer
  86. */
  87. public function getId()
  88. {
  89. return $this->id;
  90. }
  91. /**
  92. * Set title
  93. *
  94. * @param string $title
  95. * @return EntityCUserinfoDef
  96. */
  97. public function setTitle($title)
  98. {
  99. $this->title = $title;
  100. return $this;
  101. }
  102. /**
  103. * Get title
  104. *
  105. * @return string
  106. */
  107. public function getTitle()
  108. {
  109. return $this->title;
  110. }
  111. /**
  112. * Set comment
  113. *
  114. * @param string $comment
  115. * @return EntityCUserinfoDef
  116. */
  117. public function setComment($comment)
  118. {
  119. $this->comment = $comment;
  120. return $this;
  121. }
  122. /**
  123. * Get comment
  124. *
  125. * @return string
  126. */
  127. public function getComment()
  128. {
  129. return $this->comment;
  130. }
  131. /**
  132. * Set lineCount
  133. *
  134. * @param boolean $lineCount
  135. * @return EntityCUserinfoDef
  136. */
  137. public function setLineCount($lineCount)
  138. {
  139. $this->lineCount = $lineCount;
  140. return $this;
  141. }
  142. /**
  143. * Get lineCount
  144. *
  145. * @return boolean
  146. */
  147. public function getLineCount()
  148. {
  149. return $this->lineCount;
  150. }
  151. /**
  152. * Set rank
  153. *
  154. * @param boolean $rank
  155. * @return EntityCUserinfoDef
  156. */
  157. public function setRank($rank)
  158. {
  159. $this->rank = $rank;
  160. return $this;
  161. }
  162. /**
  163. * Get rank
  164. *
  165. * @return boolean
  166. */
  167. public function getRank()
  168. {
  169. return $this->rank;
  170. }
  171. }