Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
Total | |
0.00% |
0 / 2 |
|
0.00% |
0 / 2 |
CRAP | |
0.00% |
0 / 1 |
UserDetailsColumnSetting | |
0.00% |
0 / 2 |
|
0.00% |
0 / 2 |
6 | |
0.00% |
0 / 1 |
user | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
company | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 |
1 | <?php |
2 | |
3 | namespace App\Http\Models\Admin; |
4 | |
5 | use App\Http\Models\Auth\User; |
6 | use App\Http\Models\Moloquent; |
7 | use Illuminate\Database\Eloquent\Factories\HasFactory; |
8 | |
9 | class UserDetailsColumnSetting extends Moloquent |
10 | { |
11 | use HasFactory; |
12 | |
13 | protected $fillable = [ |
14 | "company_id", |
15 | "user_id", |
16 | "key", |
17 | "value", |
18 | "checked", |
19 | ]; |
20 | |
21 | public function user() |
22 | { |
23 | return $this->belongsTo(User::class); |
24 | } |
25 | |
26 | public function company() |
27 | { |
28 | return $this->belongsTo(Company::class); |
29 | } |
30 | } |