'datetime', 'actual_delivery_date' => 'datetime', 'shipping_fee' => 'decimal:2', 'is_active' => 'boolean', ]; public function transaction() { return $this->belongsTo(GlobalTransaction::class, 'transaction_id'); } public function store() { return $this->belongsTo(Store::class, 'store_id'); } public function customer() { return $this->belongsTo(Customer::class, 'customer_id'); } public function courier() { return $this->belongsTo(Courier::class, 'courier_id'); } public function creator() { return $this->belongsTo(User::class, 'created_by'); } public function updater() { return $this->belongsTo(User::class, 'updated_by'); } }