*/ protected $fillable = [ 'module_id', 'position', ]; /** * Get the module associated with the module. */ public function module(): BelongsTo { return $this->belongsTo(Module::class); } /** * Get the module row fields associated with the module. */ public function fields(): HasMany { return $this->hasMany(ModuleRowField::class); } }