'datetime', 'delivered_at' => 'datetime', 'qr_generated_at' => 'datetime', 'courier_collection_min_date' => 'datetime', 'courier_delivery_min_date' => 'datetime', 'created_at' => 'datetime', 'updated_at' => 'datetime', ]; } public function user() { return $this->belongsTo(User::class); } public function items() { return $this->hasMany(OrderItem::class, 'order_id', 'uuid'); } public function packedBy() { return $this->belongsTo(User::class, 'packed_by'); } /** * Check if this is a custom order */ public function isCustomOrder(): bool { return false; // Standard orders are not custom }}