-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathYeoInfo.php
50 lines (46 loc) · 1.35 KB
/
YeoInfo.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
49
50
<?php
namespace App\Models;
use Database\Factories\YeoInfoFactory;
use Eloquent;
use Illuminate\Database\Eloquent\Builder;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Support\Carbon;
/**
* App\Models\YeoInfo
*
* @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 YeoInfoFactory factory(...$parameters)
* @method static Builder|YeoInfo newModelQuery()
* @method static Builder|YeoInfo newQuery()
* @method static Builder|YeoInfo query()
* @method static Builder|YeoInfo whereCreatedAt($value)
* @method static Builder|YeoInfo whereEmail($value)
* @method static Builder|YeoInfo whereId($value)
* @method static Builder|YeoInfo whereName($value)
* @method static Builder|YeoInfo wherePhone($value)
* @method static Builder|YeoInfo whereUpdatedAt($value)
* @method static Builder|YeoInfo whereUserId($value)
*
* @mixin Eloquent
*/
class YeoInfo extends Model
{
use HasCompletenessCheck;
use HasFactory;
use PersonInfo;
public function isComplete(): bool
{
return $this->isCompleteCheck(
YeoInfo::factory()->definition()
);
}
}