*/ use BelongsToTenant, HasFactory; /** * Get the attributes that should be cast. * * @return array */ protected function casts(): array { return [ 'paid_on' => 'immutable_date', 'method' => PaymentMethod::class, ]; } /** * @return BelongsTo */ public function booking(): BelongsTo { return $this->belongsTo(Booking::class); } }