summaryrefslogtreecommitdiff
path: root/src/Models/User
diff options
context:
space:
mode:
Diffstat (limited to 'src/Models/User')
-rw-r--r--src/Models/User/PersonalData.php3
-rw-r--r--src/Models/User/State.php13
2 files changed, 8 insertions, 8 deletions
diff --git a/src/Models/User/PersonalData.php b/src/Models/User/PersonalData.php
index bdd0bafb..5871bcfb 100644
--- a/src/Models/User/PersonalData.php
+++ b/src/Models/User/PersonalData.php
@@ -6,14 +6,12 @@ namespace Engelsystem\Models\User;
* @property string $first_name
* @property string $last_name
* @property string $shirt_size
- * @property \Carbon\Carbon $arrival_date
* @property \Carbon\Carbon $planned_arrival_date
* @property \Carbon\Carbon $planned_departure_date
*
* @method static \Illuminate\Database\Query\Builder|\Engelsystem\Models\User\PersonalData whereFirstName($value)
* @method static \Illuminate\Database\Query\Builder|\Engelsystem\Models\User\PersonalData whereLastName($value)
* @method static \Illuminate\Database\Query\Builder|\Engelsystem\Models\User\PersonalData whereShirtSize($value)
- * @method static \Illuminate\Database\Query\Builder|\Engelsystem\Models\User\PersonalData whereArrivalDate($value)
* @method static \Illuminate\Database\Query\Builder|\Engelsystem\Models\User\PersonalData wherePlannedArrivalDate($value)
* @method static \Illuminate\Database\Query\Builder|\Engelsystem\Models\User\PersonalData wherePlannedDepartureDate($value)
*/
@@ -24,7 +22,6 @@ class PersonalData extends HasUserModel
/** @var array The attributes that should be mutated to dates */
protected $dates = [
- 'arrival_date',
'planned_arrival_date',
'planned_departure_date',
];
diff --git a/src/Models/User/State.php b/src/Models/User/State.php
index 5651736d..93bb8590 100644
--- a/src/Models/User/State.php
+++ b/src/Models/User/State.php
@@ -3,13 +3,15 @@
namespace Engelsystem\Models\User;
/**
- * @property bool $arrived
- * @property bool $active
- * @property bool $force_active
- * @property bool $got_shirt
- * @property int $got_voucher
+ * @property bool $arrived
+ * @property \Carbon\Carbon $arrival_date
+ * @property bool $active
+ * @property bool $force_active
+ * @property bool $got_shirt
+ * @property int $got_voucher
*
* @method static \Illuminate\Database\Query\Builder|\Engelsystem\Models\User\State[] whereArrived($value)
+ * @method static \Illuminate\Database\Query\Builder|\Engelsystem\Models\User\State[] whereArrivalDate($value)
* @method static \Illuminate\Database\Query\Builder|\Engelsystem\Models\User\State[] whereActive($value)
* @method static \Illuminate\Database\Query\Builder|\Engelsystem\Models\User\State[] whereForceActive($value)
* @method static \Illuminate\Database\Query\Builder|\Engelsystem\Models\User\State[] whereGotShirt($value)
@@ -24,6 +26,7 @@ class State extends HasUserModel
protected $fillable = [
'user_id',
'arrived',
+ 'arrival_date',
'active',
'force_active',
'got_shirt',