'باز', 2 => 'موفق', 3 => 'ناموفق' ]; static $DIRECTION = [ 1 => 'خرید', 2 => 'فروش' ]; public function customer() { return $this->belongsTo(Customer::class, 'customer_id', 'id'); } }