| @@ 18-178 (lines=161) @@ | ||
| 15 | * ) |
|
| 16 | * @ORM\Entity |
|
| 17 | */ |
|
| 18 | class CPermissionGroup |
|
| 19 | { |
|
| 20 | /** |
|
| 21 | * @var integer |
|
| 22 | * |
|
| 23 | * @ORM\Column(name="iid", type="integer") |
|
| 24 | * @ORM\Id |
|
| 25 | * @ORM\GeneratedValue |
|
| 26 | */ |
|
| 27 | private $iid; |
|
| 28 | ||
| 29 | /** |
|
| 30 | * @var integer |
|
| 31 | * |
|
| 32 | * @ORM\Column(name="c_id", type="integer") |
|
| 33 | */ |
|
| 34 | private $cId; |
|
| 35 | ||
| 36 | /** |
|
| 37 | * @var integer |
|
| 38 | * |
|
| 39 | * @ORM\Column(name="id", type="integer", nullable=true) |
|
| 40 | */ |
|
| 41 | private $id; |
|
| 42 | ||
| 43 | /** |
|
| 44 | * @var integer |
|
| 45 | * |
|
| 46 | * @ORM\Column(name="group_id", type="integer", nullable=false) |
|
| 47 | */ |
|
| 48 | private $groupId; |
|
| 49 | ||
| 50 | /** |
|
| 51 | * @var string |
|
| 52 | * |
|
| 53 | * @ORM\Column(name="tool", type="string", length=250, nullable=false) |
|
| 54 | */ |
|
| 55 | private $tool; |
|
| 56 | ||
| 57 | /** |
|
| 58 | * @var string |
|
| 59 | * |
|
| 60 | * @ORM\Column(name="action", type="string", length=250, nullable=false) |
|
| 61 | */ |
|
| 62 | private $action; |
|
| 63 | ||
| 64 | /** |
|
| 65 | * Set groupId |
|
| 66 | * |
|
| 67 | * @param integer $groupId |
|
| 68 | * @return CPermissionGroup |
|
| 69 | */ |
|
| 70 | public function setGroupId($groupId) |
|
| 71 | { |
|
| 72 | $this->groupId = $groupId; |
|
| 73 | ||
| 74 | return $this; |
|
| 75 | } |
|
| 76 | ||
| 77 | /** |
|
| 78 | * Get groupId |
|
| 79 | * |
|
| 80 | * @return integer |
|
| 81 | */ |
|
| 82 | public function getGroupId() |
|
| 83 | { |
|
| 84 | return $this->groupId; |
|
| 85 | } |
|
| 86 | ||
| 87 | /** |
|
| 88 | * Set tool |
|
| 89 | * |
|
| 90 | * @param string $tool |
|
| 91 | * @return CPermissionGroup |
|
| 92 | */ |
|
| 93 | public function setTool($tool) |
|
| 94 | { |
|
| 95 | $this->tool = $tool; |
|
| 96 | ||
| 97 | return $this; |
|
| 98 | } |
|
| 99 | ||
| 100 | /** |
|
| 101 | * Get tool |
|
| 102 | * |
|
| 103 | * @return string |
|
| 104 | */ |
|
| 105 | public function getTool() |
|
| 106 | { |
|
| 107 | return $this->tool; |
|
| 108 | } |
|
| 109 | ||
| 110 | /** |
|
| 111 | * Set action |
|
| 112 | * |
|
| 113 | * @param string $action |
|
| 114 | * @return CPermissionGroup |
|
| 115 | */ |
|
| 116 | public function setAction($action) |
|
| 117 | { |
|
| 118 | $this->action = $action; |
|
| 119 | ||
| 120 | return $this; |
|
| 121 | } |
|
| 122 | ||
| 123 | /** |
|
| 124 | * Get action |
|
| 125 | * |
|
| 126 | * @return string |
|
| 127 | */ |
|
| 128 | public function getAction() |
|
| 129 | { |
|
| 130 | return $this->action; |
|
| 131 | } |
|
| 132 | ||
| 133 | /** |
|
| 134 | * Set id |
|
| 135 | * |
|
| 136 | * @param integer $id |
|
| 137 | * @return CPermissionGroup |
|
| 138 | */ |
|
| 139 | public function setId($id) |
|
| 140 | { |
|
| 141 | $this->id = $id; |
|
| 142 | ||
| 143 | return $this; |
|
| 144 | } |
|
| 145 | ||
| 146 | /** |
|
| 147 | * Get id |
|
| 148 | * |
|
| 149 | * @return integer |
|
| 150 | */ |
|
| 151 | public function getId() |
|
| 152 | { |
|
| 153 | return $this->id; |
|
| 154 | } |
|
| 155 | ||
| 156 | /** |
|
| 157 | * Set cId |
|
| 158 | * |
|
| 159 | * @param integer $cId |
|
| 160 | * @return CPermissionGroup |
|
| 161 | */ |
|
| 162 | public function setCId($cId) |
|
| 163 | { |
|
| 164 | $this->cId = $cId; |
|
| 165 | ||
| 166 | return $this; |
|
| 167 | } |
|
| 168 | ||
| 169 | /** |
|
| 170 | * Get cId |
|
| 171 | * |
|
| 172 | * @return integer |
|
| 173 | */ |
|
| 174 | public function getCId() |
|
| 175 | { |
|
| 176 | return $this->cId; |
|
| 177 | } |
|
| 178 | } |
|
| 179 | ||
| @@ 20-181 (lines=162) @@ | ||
| 17 | * ) |
|
| 18 | * @ORM\Entity |
|
| 19 | */ |
|
| 20 | class CRoleGroup |
|
| 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 integer |
|
| 40 | * |
|
| 41 | * @ORM\Column(name="id", type="integer", nullable=true) |
|
| 42 | */ |
|
| 43 | private $id; |
|
| 44 | ||
| 45 | /** |
|
| 46 | * @var integer |
|
| 47 | * |
|
| 48 | * @ORM\Column(name="role_id", type="integer", nullable=false) |
|
| 49 | */ |
|
| 50 | private $roleId; |
|
| 51 | ||
| 52 | /** |
|
| 53 | * @var string |
|
| 54 | * |
|
| 55 | * @ORM\Column(name="scope", type="string", length=20, nullable=false) |
|
| 56 | */ |
|
| 57 | private $scope; |
|
| 58 | ||
| 59 | /** |
|
| 60 | * @var integer |
|
| 61 | * |
|
| 62 | * @ORM\Column(name="group_id", type="integer") |
|
| 63 | */ |
|
| 64 | private $groupId; |
|
| 65 | ||
| 66 | ||
| 67 | /** |
|
| 68 | * Set roleId |
|
| 69 | * |
|
| 70 | * @param integer $roleId |
|
| 71 | * @return CRoleGroup |
|
| 72 | */ |
|
| 73 | public function setRoleId($roleId) |
|
| 74 | { |
|
| 75 | $this->roleId = $roleId; |
|
| 76 | ||
| 77 | return $this; |
|
| 78 | } |
|
| 79 | ||
| 80 | /** |
|
| 81 | * Get roleId |
|
| 82 | * |
|
| 83 | * @return integer |
|
| 84 | */ |
|
| 85 | public function getRoleId() |
|
| 86 | { |
|
| 87 | return $this->roleId; |
|
| 88 | } |
|
| 89 | ||
| 90 | /** |
|
| 91 | * Set scope |
|
| 92 | * |
|
| 93 | * @param string $scope |
|
| 94 | * @return CRoleGroup |
|
| 95 | */ |
|
| 96 | public function setScope($scope) |
|
| 97 | { |
|
| 98 | $this->scope = $scope; |
|
| 99 | ||
| 100 | return $this; |
|
| 101 | } |
|
| 102 | ||
| 103 | /** |
|
| 104 | * Get scope |
|
| 105 | * |
|
| 106 | * @return string |
|
| 107 | */ |
|
| 108 | public function getScope() |
|
| 109 | { |
|
| 110 | return $this->scope; |
|
| 111 | } |
|
| 112 | ||
| 113 | /** |
|
| 114 | * Set id |
|
| 115 | * |
|
| 116 | * @param integer $id |
|
| 117 | * @return CRoleGroup |
|
| 118 | */ |
|
| 119 | public function setId($id) |
|
| 120 | { |
|
| 121 | $this->id = $id; |
|
| 122 | ||
| 123 | return $this; |
|
| 124 | } |
|
| 125 | ||
| 126 | /** |
|
| 127 | * Get id |
|
| 128 | * |
|
| 129 | * @return integer |
|
| 130 | */ |
|
| 131 | public function getId() |
|
| 132 | { |
|
| 133 | return $this->id; |
|
| 134 | } |
|
| 135 | ||
| 136 | /** |
|
| 137 | * Set cId |
|
| 138 | * |
|
| 139 | * @param integer $cId |
|
| 140 | * @return CRoleGroup |
|
| 141 | */ |
|
| 142 | public function setCId($cId) |
|
| 143 | { |
|
| 144 | $this->cId = $cId; |
|
| 145 | ||
| 146 | return $this; |
|
| 147 | } |
|
| 148 | ||
| 149 | /** |
|
| 150 | * Get cId |
|
| 151 | * |
|
| 152 | * @return integer |
|
| 153 | */ |
|
| 154 | public function getCId() |
|
| 155 | { |
|
| 156 | return $this->cId; |
|
| 157 | } |
|
| 158 | ||
| 159 | /** |
|
| 160 | * Set groupId |
|
| 161 | * |
|
| 162 | * @param integer $groupId |
|
| 163 | * @return CRoleGroup |
|
| 164 | */ |
|
| 165 | public function setGroupId($groupId) |
|
| 166 | { |
|
| 167 | $this->groupId = $groupId; |
|
| 168 | ||
| 169 | return $this; |
|
| 170 | } |
|
| 171 | ||
| 172 | /** |
|
| 173 | * Get groupId |
|
| 174 | * |
|
| 175 | * @return integer |
|
| 176 | */ |
|
| 177 | public function getGroupId() |
|
| 178 | { |
|
| 179 | return $this->groupId; |
|
| 180 | } |
|
| 181 | } |
|
| 182 | ||