'int', 'company_id' => 'int', 'is_active' => 'int', ]; protected $fillable = [ 'payment_option_id', 'company_id', 'ip_address', 'is_active', ]; public function company() { return $this->belongsTo(Company::class); } public function user_payment_option() { return $this->belongsTo(UserPaymentOption::class, 'payment_option_id'); } }