06 2022
This commit is contained in:
parent
34a3d2196b
commit
93d1bea8e3
45 changed files with 1601 additions and 573 deletions
|
|
@ -66,6 +66,7 @@ use Illuminate\Database\Eloquent\Collection;
|
|||
* @property Collection|BookingInvoice[] $booking_invoices
|
||||
* @property Collection|BookingServiceItem[] $booking_service_items
|
||||
* @property Collection|BookingVoucher[] $booking_vouchers
|
||||
* @property Collection|BookingVoucherAgency[] $booking_voucher_agencys
|
||||
* @property Collection|Coupon[] $coupons
|
||||
* @property Collection|InsuranceCertificate[] $insurance_certificates
|
||||
* @property Collection|Participant[] $participants
|
||||
|
|
@ -155,6 +156,7 @@ use Illuminate\Database\Eloquent\Collection;
|
|||
* @property-read \Illuminate\Database\Eloquent\Collection|\App\Models\BookingStorno[] $booking_stornos
|
||||
* @property-read int|null $booking_stornos_count
|
||||
* @property-read int|null $booking_vouchers_count
|
||||
* @property-read int|null $booking_voucher_agencys_count
|
||||
* @property-read int|null $travel_insurances_count
|
||||
* @property string|null $origin_start_date
|
||||
* @property \Illuminate\Support\Carbon|null $lawyer_date
|
||||
|
|
@ -496,6 +498,11 @@ class Booking extends Model
|
|||
return $this->hasMany(BookingVoucher::class);
|
||||
}
|
||||
|
||||
public function booking_voucher_agencys()
|
||||
{
|
||||
return $this->hasMany(BookingVoucherAgency::class);
|
||||
}
|
||||
|
||||
public function travel_insurances()
|
||||
{
|
||||
return $this->hasMany(TravelInsurance::class);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue