'float', 'is_hidden' => 'int', 'activate_on_first_payment' => 'int' ]; protected $fillable = [ 'article_number', 'type', 'price', 'is_hidden', 'event_name_prefix', 'activate_on_first_payment' ]; public function coupons() { return $this->hasMany(Coupon::class); } public function payment_option_access_group() { return $this->hasOne(PaymentOptionAccessGroup::class); } public function payment_option_exclude_group() { return $this->hasOne(PaymentOptionExcludeGroup::class); } public function payment_option_reference() { return $this->hasOne(PaymentOptionReference::class, 'parent_payment_option_id'); } public function payment_option_translation() { return $this->hasOne(PaymentOptionTranslation::class, 'id'); } public function user_payment_options() { return $this->hasMany(UserPaymentOption::class); } }