'datetime', 'total_price' => 'decimal:2' ]; public function customer(): BelongsTo { return $this->belongsTo(User::class, 'customer_id'); } public function tailor(): BelongsTo { return $this->belongsTo(User::class, 'tailor_id'); } public function measurement(): BelongsTo { return $this->belongsTo(Measurement::class); } }