-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathCounselorInfo.php
48 lines (44 loc) · 1.42 KB
/
CounselorInfo.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
<?php
namespace App\Models;
use Database\Factories\CounselorInfoFactory;
use Eloquent;
use Illuminate\Database\Eloquent\Builder;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Support\Carbon;
/**
* App\Models\CounselorInfo
*
* @property int $id
* @property string|null $name
* @property string|null $phone
* @property string|null $email
* @property int|null $user_id
* @property Carbon|null $created_at
* @property Carbon|null $updated_at
* @property-read User|null $user
*
* @method static CounselorInfoFactory factory(...$parameters)
* @method static Builder|CounselorInfo newModelQuery()
* @method static Builder|CounselorInfo newQuery()
* @method static Builder|CounselorInfo query()
* @method static Builder|CounselorInfo whereCreatedAt($value)
* @method static Builder|CounselorInfo whereEmail($value)
* @method static Builder|CounselorInfo whereId($value)
* @method static Builder|CounselorInfo whereName($value)
* @method static Builder|CounselorInfo wherePhone($value)
* @method static Builder|CounselorInfo whereUpdatedAt($value)
* @method static Builder|CounselorInfo whereUserId($value)
*
* @mixin Eloquent
*/
class CounselorInfo extends Model
{
use HasCompletenessCheck;
use HasFactory;
use PersonInfo;
public function isComplete(): bool
{
return $this->isCompleteCheck(CounselorInfo::factory()->definition());
}
}