-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathAdditionalInfo.php
54 lines (50 loc) · 1.46 KB
/
AdditionalInfo.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
51
52
53
54
<?php
namespace App\Models;
use Database\Factories\AdditionalInfoFactory;
use Eloquent;
use Illuminate\Database\Eloquent\Builder;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Support\Carbon;
/**
* App\Models\AdditionalInfo
*
* @property int $id
* @property ClothesSize $tshirt_size
* @property int $user_id
* @property Carbon|null $created_at
* @property Carbon|null $updated_at
* @property-read User|null $user
*
* @method static AdditionalInfoFactory factory(...$parameters)
* @method static Builder|AdditionalInfo newModelQuery()
* @method static Builder|AdditionalInfo newQuery()
* @method static Builder|AdditionalInfo query()
* @method static Builder|AdditionalInfo whereCreatedAt($value)
* @method static Builder|AdditionalInfo whereId($value)
* @method static Builder|AdditionalInfo whereTshirtSize($value)
* @method static Builder|AdditionalInfo whereUpdatedAt($value)
* @method static Builder|AdditionalInfo whereUserId($value)
*
* @property string|null $allergies
*
* @method static Builder|AdditionalInfo whereAllergies($value)
*
* @property string $diet
*
* @method static Builder|AdditionalInfo whereDiet($value)
*
* @property string|null $note
*
* @method static Builder|AdditionalInfo whereNote($value)
*
* @mixin Eloquent
*/
class AdditionalInfo extends Model
{
use HasFactory;
use PersonInfo;
protected $casts = [
'tshirt_size' => ClothesSize::class,
];
}