'boolean', 'reserved_to_contact_information' => 'boolean', ]; /** * Get the account associated with the template. * * @return BelongsTo */ public function account(): BelongsTo { return $this->belongsTo(Account::class); } /** * Get the module rows associated with the module. * * @return HasMany */ public function rows(): HasMany { return $this->hasMany(ModuleRow::class); } /** * Get the template pages associated with the module. * * @return BelongsToMany */ public function templatePages(): BelongsToMany { return $this->belongsToMany(TemplatePage::class, 'module_template_page')->withTimestamps(); } }