| Total Complexity | 8 |
| Total Lines | 133 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 21 | class CRoleGroup |
||
| 22 | { |
||
| 23 | /** |
||
| 24 | * @var int |
||
| 25 | * |
||
| 26 | * @ORM\Column(name="iid", type="integer") |
||
| 27 | * @ORM\Id |
||
| 28 | * @ORM\GeneratedValue |
||
| 29 | */ |
||
| 30 | protected $iid; |
||
| 31 | |||
| 32 | /** |
||
| 33 | * @var int |
||
| 34 | * |
||
| 35 | * @ORM\Column(name="c_id", type="integer") |
||
| 36 | */ |
||
| 37 | protected $cId; |
||
| 38 | |||
| 39 | /** |
||
| 40 | * @var int |
||
| 41 | * |
||
| 42 | * @ORM\Column(name="role_id", type="integer", nullable=false) |
||
| 43 | */ |
||
| 44 | protected $roleId; |
||
| 45 | |||
| 46 | /** |
||
| 47 | * @var string |
||
| 48 | * |
||
| 49 | * @ORM\Column(name="scope", type="string", length=20, nullable=false) |
||
| 50 | */ |
||
| 51 | protected $scope; |
||
| 52 | |||
| 53 | /** |
||
| 54 | * @var int |
||
| 55 | * |
||
| 56 | * @ORM\Column(name="group_id", type="integer") |
||
| 57 | */ |
||
| 58 | protected $groupId; |
||
| 59 | |||
| 60 | /** |
||
| 61 | * Set roleId. |
||
| 62 | * |
||
| 63 | * @param int $roleId |
||
| 64 | * |
||
| 65 | * @return CRoleGroup |
||
| 66 | */ |
||
| 67 | public function setRoleId($roleId) |
||
| 68 | { |
||
| 69 | $this->roleId = $roleId; |
||
| 70 | |||
| 71 | return $this; |
||
| 72 | } |
||
| 73 | |||
| 74 | /** |
||
| 75 | * Get roleId. |
||
| 76 | * |
||
| 77 | * @return int |
||
| 78 | */ |
||
| 79 | public function getRoleId() |
||
| 80 | { |
||
| 81 | return $this->roleId; |
||
| 82 | } |
||
| 83 | |||
| 84 | /** |
||
| 85 | * Set scope. |
||
| 86 | * |
||
| 87 | * @param string $scope |
||
| 88 | * |
||
| 89 | * @return CRoleGroup |
||
| 90 | */ |
||
| 91 | public function setScope($scope) |
||
| 92 | { |
||
| 93 | $this->scope = $scope; |
||
| 94 | |||
| 95 | return $this; |
||
| 96 | } |
||
| 97 | |||
| 98 | /** |
||
| 99 | * Get scope. |
||
| 100 | * |
||
| 101 | * @return string |
||
| 102 | */ |
||
| 103 | public function getScope() |
||
| 106 | } |
||
| 107 | |||
| 108 | /** |
||
| 109 | * Set cId. |
||
| 110 | * |
||
| 111 | * @param int $cId |
||
| 112 | * |
||
| 113 | * @return CRoleGroup |
||
| 114 | */ |
||
| 115 | public function setCId($cId) |
||
| 116 | { |
||
| 117 | $this->cId = $cId; |
||
| 118 | |||
| 119 | return $this; |
||
| 120 | } |
||
| 121 | |||
| 122 | /** |
||
| 123 | * Get cId. |
||
| 124 | * |
||
| 125 | * @return int |
||
| 126 | */ |
||
| 127 | public function getCId() |
||
| 128 | { |
||
| 129 | return $this->cId; |
||
| 130 | } |
||
| 131 | |||
| 132 | /** |
||
| 133 | * Set groupId. |
||
| 134 | * |
||
| 135 | * @param int $groupId |
||
| 136 | * |
||
| 137 | * @return CRoleGroup |
||
| 138 | */ |
||
| 139 | public function setGroupId($groupId) |
||
| 144 | } |
||
| 145 | |||
| 146 | /** |
||
| 147 | * Get groupId. |
||
| 148 | * |
||
| 149 | * @return int |
||
| 150 | */ |
||
| 151 | public function getGroupId() |
||
| 154 | } |
||
| 155 | } |
||
| 156 |