| Total Complexity | 2 |
| Total Lines | 50 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 0 | ||
| 1 | <?php |
||
| 6 | class UsersAssociatedCompany extends \Baka\Auth\Models\UsersAssociatedCompany |
||
| 7 | { |
||
| 8 | /** |
||
| 9 | * |
||
| 10 | * @var integer |
||
| 11 | */ |
||
| 12 | public $users_id; |
||
| 13 | |||
| 14 | /** |
||
| 15 | * |
||
| 16 | * @var integer |
||
| 17 | */ |
||
| 18 | public $company_id; |
||
| 19 | |||
| 20 | /** |
||
| 21 | * |
||
| 22 | * @var string |
||
| 23 | */ |
||
| 24 | public $identify_id; |
||
| 25 | |||
| 26 | /** |
||
| 27 | * |
||
| 28 | * @var integer |
||
| 29 | */ |
||
| 30 | public $user_active; |
||
| 31 | |||
| 32 | /** |
||
| 33 | * |
||
| 34 | * @var string |
||
| 35 | */ |
||
| 36 | public $user_role; |
||
| 37 | |||
| 38 | /** |
||
| 39 | * Initialize method for model. |
||
| 40 | */ |
||
| 41 | 1 | public function initialize() |
|
| 42 | { |
||
| 43 | 1 | parent::initialize(); |
|
| 44 | |||
| 45 | 1 | $this->setSource('users_associated_company'); |
|
| 46 | 1 | } |
|
| 47 | |||
| 48 | /** |
||
| 49 | * Returns table name mapped in the model. |
||
| 50 | * |
||
| 51 | * @return string |
||
| 52 | */ |
||
| 53 | 1 | public function getSource(): string |
|
| 56 | } |
||
| 57 | } |
||
| 58 |