| 1 | <?php |
||
| 20 | class CRoleUser |
||
| 21 | { |
||
| 22 | /** |
||
| 23 | * @var integer |
||
| 24 | * |
||
| 25 | * @ORM\Column(name="iid", type="integer") |
||
| 26 | * @ORM\Id |
||
| 27 | * @ORM\GeneratedValue |
||
| 28 | */ |
||
| 29 | private $iid; |
||
|
|
|||
| 30 | |||
| 31 | /** |
||
| 32 | * @var integer |
||
| 33 | * |
||
| 34 | * @ORM\Column(name="c_id", type="integer") |
||
| 35 | */ |
||
| 36 | private $cId; |
||
| 37 | |||
| 38 | /** |
||
| 39 | * @var string |
||
| 40 | * |
||
| 41 | * @ORM\Column(name="scope", type="string", length=20, nullable=false) |
||
| 42 | */ |
||
| 43 | private $scope; |
||
| 44 | |||
| 45 | /** |
||
| 46 | * @var integer |
||
| 47 | * |
||
| 48 | * @ORM\Column(name="role_id", type="integer") |
||
| 49 | */ |
||
| 50 | private $roleId; |
||
| 51 | |||
| 52 | /** |
||
| 53 | * @var integer |
||
| 54 | * |
||
| 55 | * @ORM\Column(name="user_id", type="integer") |
||
| 56 | */ |
||
| 57 | private $userId; |
||
| 58 | |||
| 59 | /** |
||
| 60 | * Set scope |
||
| 61 | * |
||
| 62 | * @param string $scope |
||
| 63 | * @return CRoleUser |
||
| 64 | */ |
||
| 65 | public function setScope($scope) |
||
| 71 | |||
| 72 | /** |
||
| 73 | * Get scope |
||
| 74 | * |
||
| 75 | * @return string |
||
| 76 | */ |
||
| 77 | public function getScope() |
||
| 81 | |||
| 82 | /** |
||
| 83 | * Set cId |
||
| 84 | * |
||
| 85 | * @param integer $cId |
||
| 86 | * @return CRoleUser |
||
| 87 | */ |
||
| 88 | public function setCId($cId) |
||
| 94 | |||
| 95 | /** |
||
| 96 | * Get cId |
||
| 97 | * |
||
| 98 | * @return integer |
||
| 99 | */ |
||
| 100 | public function getCId() |
||
| 104 | |||
| 105 | /** |
||
| 106 | * Set roleId |
||
| 107 | * |
||
| 108 | * @param integer $roleId |
||
| 109 | * @return CRoleUser |
||
| 110 | */ |
||
| 111 | public function setRoleId($roleId) |
||
| 117 | |||
| 118 | /** |
||
| 119 | * Get roleId |
||
| 120 | * |
||
| 121 | * @return integer |
||
| 122 | */ |
||
| 123 | public function getRoleId() |
||
| 127 | |||
| 128 | /** |
||
| 129 | * Set userId |
||
| 130 | * |
||
| 131 | * @param integer $userId |
||
| 132 | * @return CRoleUser |
||
| 133 | */ |
||
| 134 | public function setUserId($userId) |
||
| 140 | |||
| 141 | /** |
||
| 142 | * Get userId |
||
| 143 | * |
||
| 144 | * @return integer |
||
| 145 | */ |
||
| 146 | public function getUserId() |
||
| 150 | } |
||
| 151 |
This check marks private properties in classes that are never used. Those properties can be removed.