ReservationItemStatus::class, 'starts_at' => 'immutable_datetime', 'ends_at' => 'immutable_datetime', 'delivered_at' => 'immutable_datetime', 'returned_at' => 'immutable_datetime', ]; } /** @return BelongsTo */ public function reservation(): BelongsTo { return $this->belongsTo(Reservation::class); } /** @return BelongsTo */ public function asset(): BelongsTo { return $this->belongsTo(SnipeAsset::class, 'snipe_asset_id'); } /** @return HasMany */ public function handoverRecords(): HasMany { return $this->hasMany(HandoverRecord::class); } }